Pro AngularJS pp 351-380 | Cite as

Using Filters

  • Adam Freeman


Filters transform the data before it is processed by a directive and displayed in a view without modifying the original data in the scope, allowing the same data to be displayed in different ways in different parts of the application. Filters can perform any kind of transformation, but for the most part they are used to format or sort the data in some way. In this chapter, I explain the role that filters play in an AngularJS application, describe the built-in AngularJS filters, and demonstrate how to create and apply custom filters. Table 14-1 summarizes this chapter.


Return Function Category Property Price Property Product Array Date Filter 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Adam Freeman 2014

Authors and Affiliations

  • Adam Freeman
    • 1
  1. 1.Milton KeynesUK

Personalised recommendations