Chapter 1. Maximizing AngularJS Directives
In this chapter, we will cover the following recipes:
Building a simple element directive
Working through the directive spectrum
Manipulating the DOM
Linking directives
Interfacing with a directive using isolate scope
Interaction between nested directives
Optional nested directive controllers
Directive scope inheritance
Directive templating
Isolate scope
Directive transclusion
Recursive directives