AngularJS

AngularJS Directives

AngularJS Filters and Elements

AngularJS Tutorials

AngularJS filter Filter

AngularJS filter Filter

 

 

The filter filter allows us to filter an array, and return an array containing only the matching items. It only works only on Arrays.

 

Syntax:-

 

{{ arrayexpression | filter : expression : comparator }}

 

Further Explanation:-

 

Value Description
expression The expression is used when selecting items from the array. The expression can be of type of stringobject, and function.
comparator Optional. Defines how strict the comparison should be. The value can be either true or false.

Code Explanation

All Tutorials related to AngularJS Filters and Elements

All Sections related to AngularJS