Using Built-in Filters
AngularJS provides several types of filters that enable you to easily format strings, objects, and arrays in AngularJS templates. Table 5.1 lists the built-in filters provided with AngularJS.
Listings 5.7 and 5.8 show how to implement some basic filters in AngularJS. Listing 5.7 implements a controller with JSONObj
, word
, and days
properties. Listing 5.8 ...
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.