Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

feat(filter): allow map of filters to be registered in $FilterProvider #4091

Closed
wants to merge 1 commit into from

Conversation

colincasey
Copy link
Contributor

This feature adds similar functionality to what $ControllerProvider.register and $CompileProvider.directive currently provide by allowing a map of filter name/factories to be passed as the sole argument to $FilterProvider.register to register all of the specified filters.

Closes #4036

This feature adds similar functionality to what `$ControllerProvider.register` and `$CompileProvider.directive` currently provide by allowing a map of filter name/factories to be passed as the sole argument to `$FilterProvider.register` to register all of the specified filters.

Closes angular#4036
@mary-poppins
Copy link

Thanks for the PR!

  • Contributor signed CLA now or in the past
    • If you just signed, leave a comment here with your real name
  • PR's commit messages follow the commit message format

If you need to make changes to your pull request, you can update the commit with git commit --amend.
Then, update the pull request with git push -f.

Thanks again for your help!

@ghost ghost assigned petebacondarwin Sep 21, 2013
jamesdaily pushed a commit to jamesdaily/angular.js that referenced this pull request Jan 27, 2014
This feature adds similar functionality to what `$ControllerProvider.register`
and `$CompileProvider.directive` currently provide by allowing a map of filter
name/factories to be passed as the sole argument to `$FilterProvider.register`
to register all of the specified filters.

Closes angular#4036
Closes angular#4091
jamesdaily pushed a commit to jamesdaily/angular.js that referenced this pull request Jan 27, 2014
This feature adds similar functionality to what `$ControllerProvider.register`
and `$CompileProvider.directive` currently provide by allowing a map of filter
name/factories to be passed as the sole argument to `$FilterProvider.register`
to register all of the specified filters.

Closes angular#4036
Closes angular#4091
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

$FilterProvider.register() accept object in addition to name/factory arguments
3 participants