Explain what are directives? Mention some of the most commonly used directives in AngularJS application?
Question :
Explain what are directives? Mention some of the most commonly used directives in AngularJS application?
A directive is something that introduce new syntax, they are like markers on DOM elements which attaches a special behavior to it. In any AngularJS application, directives are the most important components.
Some of the commonly used directives are ng-modal, ng- App, ng-bind, ng-repeat, ng-show etc.