CHAPTER 4

image

Filters and Modules

When working with data that has been retrieved from a database, you will spend a lot of time working with raw unformatted data. It’s not at all uncommon to come across dates that are formatted unusually, numbers that have far too many digits after the decimal point, and people’s names that are in all uppercase letters. Keep in mind that data is not always stored in the best format for our own applications, and its original purpose might have been to service a totally different kind of application. When presenting data to end users, however, we need a way to deal with such things. Angular JS filters are often a very ...

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