Check out a free preview of the full Angular 1.x Essentials course:
The "Directive Definition Object" Lesson is part of the full, Angular 1.x Essentials course featured in this preview video. Here's what you'd learn in this lesson:

Directives consist of three things (or less): The Link, the Controller, and the Directive Definition Object (DDO). The Directive Definition Object (DDO) tells the compiler how a Directive needs to be assembled. Common properties include the link function, controller function, restrict, template, and templateUrl. Lukas walks through the code behind a simple AngularJS Directives which animates HTML elements.

Get Unlimited Access Now