O'Reilly logo

Pro AngularJS by Adam Freeman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 16

image

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required