Explain directives in AngularJS.

 Posted by Vivek.Ramapuram on 7/15/2015 | Category: AngularJS 1x Interview questions | Views: 2727 | Points: 40

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