O'Reilly logo

Mastering Web Application Development with AngularJS by Pawel Kozlowski, Peter Bacon Darwin

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

Summary

In this chapter we have looked at some of the more advanced aspects of developing directives. We saw in our alert directive, how transclusion can be used with ng-transclude when creating widgets. The accordion directive suite neatly demonstrated how directive controllers can be used to coordinate communication between directives. We even took complete control of the compile process by terminating the current compilation in the field directive and the using the $compile service to manually compile the element's contents.

In the next chapter we will be looking at what we can do to ensure that our application performance is fast and responsive.

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