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
Add provider.$decorator to angular.Module
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.
I did author these changes.
CLA email updated.
CLAs look good, thanks!
feat(angular.Module): add `decorator` method