$filter (service in module ng )

Improve this doc

Description

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);

Parameters

Returns

{Function}

the filter function