$filter

  1. $filterProvider
  2. service in module ng

Filters are used for formatting data displayed to the user.

The general syntax in templates is as follows:

{{ expression [| filter_name[:parameter_value] ... ] }}

Usage

$filter(name);

Arguments

Param Type Details
name String

Name of the filter function to retrieve

Returns

Function

the filter function

doc_AngularJS
2016-03-29 16:10:19
Comments
Leave a Comment

Please login to continue.