$filterProvider

Improve this Doc View Source $filterProvider

  1. $filter
  2. provider in module ng

Filters are just functions which transform input to an output. However filters need to be Dependency Injected. To achieve this a filter definition consists of a factory function which