Using Built-in Filters

AngularJS provides several different types of filters that enable you to easily format strings, objects, and arrays in AngularJS templates. Table 23.1 lists the built-in filters provided with AngularJS.

Image
Image
Image

Table 23.1 Filters that modify expressions in AngularJS templates

Listings 23.3 and 23.4 show how to implement some basic filters in AngularJS. Listing 23.3 implements a controller with JSONObj, word, and days properties. ...

Get Node.js, MongoDB, and AngularJS Web Development 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.