O'Reilly logo

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

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