AngularJs Directives Restrict to Elements and Attributes
At a high level, directives are markers on a DOM element (such as an attribute, element name, comment or CSS class) that tell AngularJS’s HTML compiler ($compile) to attach a specified behavior to that DOM element or even transform the DOM element and its children.
Prefer using directives via tag name and attributes over comment and class names. Doing so generally makes it easier to determine what directives a given element matches.
Note: EA is the default for AngularJS 1.3 +
And if you get stuck… Ask Here
email me email@example.com