| filter:
part tells the AngularJS to apply filter on expression data.
itemFilter
is the name of filter function.
AngularJS has a set of built-in filter functions and are categorized into various types, such as:
Filter | Description |
---|---|
currency | This filter converts a number to currency format. |
lowercase | This filter formats all characters of a string to lowercase. |
uppercase | This filter formats all the characters of a string to uppercase. |
date | This filter formats the string to the requested format. |
limitTo | This filter limits an array/string to required no. of elements/characters. |
json | This filter formats an object to JSON string. |
orderBy | Orders an array by an expression. |