Using Built-in Directives

Most of the AngularJS functionality that you need to implement in HTML elements is provided in the built-in directives. These directives are provided by the library and are available when the AngularJS JavaScript library is loaded.

Directives provide a wide variety of support for AngularJS applications. The following sections describe most of the AngularJS directives, which fall into the following categories:

■ Directives that support AngularJS functionality

■ Directives that extend form elements

■ Directives that bind the page elements to values in the scope model

■ Directives that bind page events to controllers

Each of the following sections includes a table containing the related directives along with a basic description. ...

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.