Hopefully by this point I've whetted your appetite by elaborating on some of the power that each directive can utilize. The simpler properties such as template, priority, and basic linking should already have demonstrated a taste of the kind of modular extensibility directives can add to your development arsenal. And we'll revisit each of these properties over the next several chapters as we dive into the inner workings of scoping, controllers, and transclusion, as I recognize many of the options discussed likely still seem like a magic black box. Next, however, let's take a look at some of Angular's built in directives,
ng-switch, for a study into why we separate
link, and how you can use that for your own custom ...