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

feat(ng, decorator): Add decorator Method (provider.$decorator) to angular.Module #11305

Closed
wants to merge 2 commits into from

Conversation

RodneyEbanks
Copy link
Contributor

Allow for decorators to be added prior to the angular.config process.

Use case: I am working on a project using ui.router and would like to modify the $stateProvide.state service and would like to ensure that my modification will always be applied prior to any angular.config blocks which could contain $stateProvide.state requests.

This would also allow any decorators to be clearly delineated in your code and not lost in a config block.

Replaces Pull Request #11300

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm.

@RodneyEbanks
Copy link
Contributor Author

I did author these changes.

CLA email updated.

@googlebot
Copy link

CLAs look good, thanks!

@RodneyEbanks RodneyEbanks changed the title Add provider.$decorator to angular.Module feat(ng, decorator): Add decorator Method (provider.$decorator) to angular.Module Mar 16, 2015
netman92 pushed a commit to netman92/angular.js that referenced this pull request Aug 8, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants