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 only the AngularJS scope, controller, and template. The zoom view field example showed you how to extend the concept of an HTML <img> element to an element that includes an additional zoom element that interacts with mouse clicks in the image.

That’s a wrap for this book. I hope that you have enjoyed learning about AngularJS as much as I have. I love AngularJS because it makes it easy to write structured code without a lot of complexity. With AngularJS everything has its place as a view, directive, controller, service, or part of the data model. After reading this book, you should have a good understanding of the AngularJS framework so that you feel confident in jumping in and writing your own AngularJS applications. Enjoy your coding!

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset