AngularJS Filters

Posted By : Bipul Kumar Tiwari

Filters are used to change modify the data and can be clubbed in expression or directives using pipe character. Following is the list of commonly used filters.

Using filters in view templates

Difference type of Filters

Filter Name Filter Description
uppercase Converts a string to upper case text.
lowercase Converts a string to lower case text.
currency Format a number to a currency format
filter filter the array to a subset of it based on provided criteria.
orderby orders the array based on provided criteria.
date Format a date to a specified format.
json Format an object to a JSON string.
limitTo Limits an array/string, into a specified number of elements/characters.
number Format a number to a string.

Adding Filters to Expressions

Filters can be added to expressions by using the pipe character |, followed by a filter.


05/02/2011 @ 12:22AM

Note: There are two way to write the module



About the Author

Its me BIPUL who is logically minded creative at heart , a good communicator , a self taught full stack developer. I constantly focuses on my thinking , reading , collecting and creating my work in a order to enhance my skills.

I discover new dimensions for growing bussiness with a proven record in creating database and programming. I have a strong technical skills as well as strong interpersonal skills. Read more...

Browse By Category

Popular Articles