Question:

Explain what are directives ? Mention some of the most commonly used directives in AngularJS application ? 

Answer:

A directive is something that introduces new syntax, they are like markers on DOM element 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-model, ng-App, ng-bind, ng-repeat , ng-show etc.


Keywords:

© 2017 QuizBucket.org