One of the main benefits of Angular is the ability to easily extend HTML with new behaviours through the use of custom directives. Directives allow developers to match markers in the DOM with the intended behaviours.
In this post we’ll cover:
* Why writing semantic and reusable directives is desirable.
* How to build directives on top of semantic HTML elements and attributes.
* How to provide communication between directives via controllers.
* How to provide basic animations using the $animate service.
This post assume you have some experience with Angular directives.
Your new post is loading...