O'Reilly logo

AngularJS Directives by Alex Vanston

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 3. Deconstructing Directives

And without further ado: Directives! Now that we've had the chance to discuss some of the whys of directives, let's get on with the hows. In this chapter, we'll go over each of the different configuration options you have at your disposal while creating a directive, as well as when each property is most helpful. Hopefully by the end of this chapter you'll begin to have a better understanding of what actually happens when we add a directive to an element and be excited to dive into some of the more powerful, but complex, configurations possible that are coming in the following chapters.

Getting started

If you've worked with Angular before, feel free to skip the next section, it's simply a review of how to set ...

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