Wednesday, August 20, 2014

AngularJS bind example

There is a bind example in AngularJS.

The app.js creates an default module.
The index.html references the angular.min.js and the app.js.
On line 6 we reference the app created on app.js with ng-app.
On line 8 we create a input that reference the "checked" var with ng-model.
On line 11 we create a input that reference the "checked" var with ng-model and uses a angular filter uppercase.


No comments:

Post a Comment