6. Implementing Directives in AngularJS Views

One of the most powerful features of AngularJS is directives. Directives extend the behavior of HTML, enabling you to create custom HTML elements, attributes, and classes with functionality specific to an application. AngularJS provides several built-in directives. In fact, the majority of the AngularJS library is built-in directives. These directives provide the capability to interact with form elements, bind data in the scope to the view, and interact with browser events.

This chapter discusses the built-in directives and how to implement them in AngularJS templates. You will learn how to apply these directives in your AngularJS templates and support them in the back-end controllers to quickly turn ...

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.