Differences between revisions 1 and 2
Revision 1 as of 2015-06-05 20:59:06
Size: 363
Editor: PieterSmit
Comment:
Revision 2 as of 2015-06-06 11:52:03
Size: 490
Editor: PieterSmit
Comment: Add ng-repeat
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
     * {{ var }}
Line 8: Line 9:
   * '''ng-repeat''' directive clones HTML elements once for each item in a collection (in an array).


Angular js framework

  • AngularJS extends HTML with ng-directives.
    • The ng-app directive defines an AngularJS application.

    • 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).

...

Angular.js (last edited 2016-04-06 19:59:22 by PieterSmit)