HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Filters can use a pipe character (|) to add to the expressions and instructions.
AngularJS filter can be used to convert the data:
filter | description |
---|---|
currency | Format numbers formatted as currency. |
filter | Selecting a subset of items from the array. |
lowercase | Format string to lowercase. |
orderBy | Array arrangement according to an expression. |
uppercase | Format string to uppercase. |
Filter through a pipe character (|), and a filter is added to the expression. .
((Two examples below, we will use the previous section mentioned person controllers))
uppercase filter string formatted as uppercase:
lowercase filter to lowercase string formatting:
currency digital filter will be formatted as currency format:
Filter through a pipe character (|), and a filter is added to the directive.
orderBy filter array arrangement according to the expression:
Input filter through a pipe character (|), and a filter is added to the directive, the filter followed by a colon and a model name.
filter filters select a subset from the array: