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

fix @param tag for $provide.decorator #11507

Closed
wants to merge 3 commits into from
Closed

fix @param tag for $provide.decorator #11507

wants to merge 3 commits into from

Conversation

KevinBrogan
Copy link
Contributor

The $provide.decorator function, as per the documentation, "is called using the auto.injector.invoke method and is therefore fully injectable."

The current @param contradicts this by stating that only Functions may be used as an argument.

The $provide.decorator function, as per the documentation, "is called using the auto.injector.invoke method and is therefore fully injectable."

The current @param contradicts this by stating that only Functions may be used as an argument.
@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.

@KevinBrogan
Copy link
Contributor Author

Signed the CLA

@googlebot
Copy link

CLAs look good, thanks!

@googlebot googlebot added cla: yes and removed cla: no labels Apr 3, 2015
Fix another @param that should be marked as optional but is not.
Added a missing right brace from first commit
petebacondarwin pushed a commit that referenced this pull request May 5, 2015
…eter

The $provide.decorator function, as per the documentation, "is called using
the auto.injector.invoke method and is therefore fully injectable."

The current @param contradicts this by stating that only a functions may
be used as an argument.

Closes #11507
netman92 pushed a commit to netman92/angular.js that referenced this pull request Aug 8, 2015
…eter

The $provide.decorator function, as per the documentation, "is called using
the auto.injector.invoke method and is therefore fully injectable."

The current @param contradicts this by stating that only a functions may
be used as an argument.

Closes angular#11507
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.

2 participants