Directive Angularjs. MVC With Angularjs

In AngularJS Directives are html re markers for a HTML DOM element like an attribute(restrict- A), element name(restrict- E), comment(restrict- M) or CSS class(restrict – C) that tell AngularJS’s HTML compiler ($compile) to perform a specified behavior to that DOM element or even transform the DOM element.
Directives are where you manipulate the DOM and catch DOM events. This is why the directive’s compile and link functions both receive the “element” as an argument. You can

[Directive Angularjs. MVC With Angularjs]


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s