AngularJS
AngularJS is a JavaScript framework developed by google as a library using ajax. It can be added to an HTML page with a tag.
AngularJS extends HTML attributes with Directives, and binds data to HTML with Expressions.
AngularJS extends HTML tags with ng-directives.
The directive “ng-app” defines an AngularJS application.
The directive “ng-model” binds the value of HTML controls (input,dropdown, select, textarea) to application data.
The directive “ng-bind” binds application data to the HTML view (exression) .
if you want to validate the HTML you have to replace “ng” directive with “data-ng” directive.
AngularJs directives :
ng-app
ng-model
ng-bind
ng-init
ng-repeat
ng-controller
ng-module
Filters are used to transform data:
- currency Format a number to a currency format.
- filter Select a subset of items from an array.
- lowercase Format a string to lower case.
- orderBy Orders an array by an expression.
- uppercase Format a string to upper case.
For in-depth knowledge go to Angular Js