Friday 10 March 2017

Top 10 Directives in AngularJS


Directives are the normal HTML Syntax. AngularJS allows you to extend existing HTML syntax with new attributes called as Directives. AngularJS comes with set of inbuilt Directives and all the Directives has individual behaviors.

All the Directives are starts with the prefix of “ng-”. Also AngularJS allows the developer to create custom Directives with custom behaviours.

Here are the list of Top 10 Directives in AngularJS,

1.     ng-app
2.     ng-model
3.     ng-bind
4.     ng-click
5.     ng-controller
6.     ng-hide / ng-show
7.     ng-if
8.     ng-include
9.     ng-repeat

10. ng-submit

To know More about the above 10 Directives, Please Visit Top 10 Directives of AngularJS.