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

Add provider.$decorator to angular.Module #11300

Closed
wants to merge 5 commits into from
Closed

Add provider.$decorator to angular.Module #11300

wants to merge 5 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.

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.
@googlebot
Copy link

Thanks for your pull request.

It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA) at https://cla.developers.google.com/.

If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check the information on your CLA or see this help article on setting the email on your git commits.

Once you've done that, please reply here to let us know. If you signed the CLA as a corporation, please let us know the company's name.

@RodneyEbanks
Copy link
Contributor Author

CLA Signed - Individual email: github@rodneyebanks.com username: RodneyEbanks.

@googlebot
Copy link

CLAs look good, thanks!

@lgalfaso
Copy link
Contributor

Hi, thanks for the PR.

  • Please fix the style issues
  • A few tests would not hurt :)

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.

3 participants