Filters play an important role in formatting of text, date, and currency types. They modifies the data before showing in the view. Always remember filters are case-sensitive. Filters are used in AngularJS for performing the following tasks:
Filters can be used with a binding expression or a directive.
| Filter Name | Description |
|---|
| lowercase | Formats/ converts all character to lowercase. |
| uppercase | Formats/ converts all character to uppercase. |
| number | Format a number to a string. |
| date | Formats data to a string based on provided criteria. |
| currency | Formats a number as a currency. $ is default currency format. |
| orderby | Orders the array according to the provided criteria. |