O'Reilly logo

Learning AngularJS by Brad Dayley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

Image
Image
Image

Table 5.1 Filters That Modify Expressions in AngularJS Templates

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required