Filters and Modules

  • Andrew Grant


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 good way to do just that.


Return Function Filter Method Decimal Point Date Filter Code Listing 

Copyright information

© Andrew Grant 2014

Authors and Affiliations

  • Andrew Grant
    • 1
  1. 1.WAAustralia

Personalised recommendations