Creating Custom Directives in AngularJS

Communicate Between Controllers

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 (e.g. via event listeners), or even to transform the DOM element and its children. – In this blog, I will show how to create custom directives. To better understand concept of Directive please go through the AngularJS’s┬áCustom Directive section. If you are new to AngularJS, please read

Continue Reading