Creating Complex Directives
In the previous chapter, I showed you the techniques required to create a custom directive, including using jqLite to manipulate and manage HTML elements. In this chapter, I am going to show you techniques that let you take more control over how your custom directives work. You won’t always need these techniques (the basic ones I showed you in Chapter 15 cover a surprisingly wide range of situations), but if you require something more complex or sophisticated, then they become invaluable and are complemented by the truly advanced techniques I describe in Chapter 17. Table 16-1 summarizes this chapter.