Thursday 25 February 2016

How to use filters in AngularJS?


ANGULARJS FILTERS.jpg

A filter is used to format data to be displayed to the user. These can be used in controllers,templates or services and we can also easily define our own filters. Some of the built-in filters in AngularJS are :- 1.uppercase - formats or converts text to uppercase text. 2.lowercase - formats or converts text to lowercase text. 3.filter - selects or filters a subset from an array based on certain criteria. 4.order by - sets an order based on certain criteria. 5.currency - formats text into currency format. 6.date - It formats a date to a specified format.

For full blog about How to use filters in AngularJS? visit Findnerd.


No comments:

Post a Comment