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 […]

inlineEdit and AngularJS

Recently I used the inlineEdit plugin with a project that uses AngularJS. As the inlineEdit plugin only handles switching between non-editable and editable views and exposes the save/cancel actions it was pretty easy to integrate. What I ended up doing was wrap the inlineEdit plugin with a Directive that implements the ngModelController API. Take a […]