Saved Bookmarks
| 1. |
What are directives? |
|
Answer» Directives are the most important components of AngularJS elements that represent the DOM ELEMENT markers providing new behavior to the DOM elements like elements name, attributes, CSS classes, or comments. They are used for creating custom HTML tags that OPERATE similarly to custom WIDGETS. AngularJS provides various in-built directives such as ng-model for data BINDING, ng-repeat for iterating elements, ng-app for bootstrapping AngularJS applications, ng-show, ng-hide for manipulating the display of DOM elements, etc. |
|