490
Comment: Add ng-repeat
|
564
|
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
* '''ng-controller''' directive defines the application controller. | |
Line 7: | Line 8: |
* {{ var }} | * { { var } } |
Angular js framework
- AngularJS extends HTML with ng-directives.
The ng-app directive defines an AngularJS application.
ng-controller directive defines the application controller.
The ng-model directive binds the value of HTML controls (input, select, textarea) to application data.
- { { var } }
The ng-bind directive binds application data to the HTML view.
ng-repeat directive clones HTML elements once for each item in a collection (in an array).
...