Summary

AngularJS provides many tools to extend the capability of HTML through the use of templates with built-in and custom directives. In this chapter you got several looks at different ways in which you can implement richly interactive elements into your web pages in an easy yet structured way.

In this chapter you also got a look at several custom directives. The tabbed panels and expandable/collapsible examples showed different ways to implement directives that nest inside each other and interact with each other. The drag and drop showed you one way to interact with the HTML5 drag and drop events, as well as sharing the scope between the controller and custom directives. The star rating example showed you how to build interactivity using ...

Get Learning AngularJS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.