Using Binding and Template Directives
In the previous chapter, I briefly described the range of components that can be used to create an AngularJS application. You may have found the variety of these components overwhelming and, even with the examples, struggled to understand what they are all for. Don’t worry—as I explained at the start of that chapter, those descriptions and examples are intended to provide context for the detailed information that follows, starting with this chapter, in which I describe directives.
Directives are the most powerful AngularJS feature; they allow you to extend HTML to create the foundation for rich ...