Friday, February 12, 2016

Angular JS 1.5 Directives

Thursday, February 11th 2016

What are directives? Directives are markers on a DOM element (such as an element, class, type) that tell AngularJS's HTML compiler, to attach a specific behavior to that DOM element or its children. Angular uses directives to help guide the behavior of the website through either native or custom made directives (native directives will always start with 'ng-'). NOTE: You are able to change native directives. When AngularJS boots up, the HTML compiler matching directives with their respective DOM element, as with any other DOM element marker.

References:
https://docs.angularjs.org/guide/directive

No comments:

Post a Comment