Angular gotcha: ng-app=”myApp” (named applications)

Angular is magical. The magic starts happening simply like so: <html ng-app> <script src=”angular.min.js”></script> There are {{ 1 + 2 }} apples in the basket. </html> Which outputs: There are 3 apples in the basket. However, when the magic stops you could be left tearing your hair out finding the correct potion! For example, if […]