Check out a free preview of the full AngularJS 1.x Application Development course:
The "Directives" Lesson is part of the full, AngularJS 1.x Application Development course featured in this preview video. Here's what you'd learn in this lesson:

Directives allow developers to encapsulate custom functionality using HTML tags and attributes. The three main elements of a directive are the link method, controller method, and the directive definition object.

Get Unlimited Access Now