Deep Dive into Custom Directives in AngularJS
Considered one of the most important features of AngularJS, directives allow you to create new elements on the view or give special meaning to existing elements. But what about when you need to write custom directives?