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.
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.