Explain directives in AngularJS.

 Posted by Vivek.Ramapuram on 7/15/2015 | Category: AngularJS Interview questions | Views: 701 | Points: 40
Answer:

Directives are markers on DOM elements (such as elements, attributes, css, and more). These can be used to create custom HTML tags that serve as new, custom widgets. AngularJS has built-in directives (ng-bind, ng-model, etc) to perform most of the task that developers have to do.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response