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

docs(Dependency Injection): fix angular.injector arguments list #12292

Closed
wants to merge 1 commit into from
Closed

docs(Dependency Injection): fix angular.injector arguments list #12292

wants to merge 1 commit into from

Conversation

adamsea
Copy link
Contributor

@adamsea adamsea commented Jul 7, 2015

The original file includes a code sample using angular.injector(['myModule', 'ng']) which throws an error when trying to retrieve anything attached to myModule. Reversing the args fixes this.

The original file included a code sample using `angular.injector(['myModule', 'ng'])` which appears to be incorrect when trying to retrieve anything attached to `myModule`.  Reversing the args fixes this.
@Narretz Narretz self-assigned this Aug 3, 2015
@Narretz Narretz closed this in 548a134 Aug 3, 2015
Narretz pushed a commit that referenced this pull request Aug 3, 2015
The original file included a code sample using `angular.injector(['myModule', 'ng'])`,
which appears to be incorrect when trying to retrieve anything attached to `myModule`.
Reversing the args fixes this.

Closes #12292
netman92 pushed a commit to netman92/angular.js that referenced this pull request Aug 8, 2015
The original file included a code sample using `angular.injector(['myModule', 'ng'])`,
which appears to be incorrect when trying to retrieve anything attached to `myModule`.
Reversing the args fixes this.

Closes angular#12292
ggershoni pushed a commit to ggershoni/angular.js that referenced this pull request Sep 29, 2015
The original file included a code sample using `angular.injector(['myModule', 'ng'])`,
which appears to be incorrect when trying to retrieve anything attached to `myModule`.
Reversing the args fixes this.

Closes angular#12292
ggershoni pushed a commit to ggershoni/angular.js that referenced this pull request Sep 29, 2015
The original file included a code sample using `angular.injector(['myModule', 'ng'])`,
which appears to be incorrect when trying to retrieve anything attached to `myModule`.
Reversing the args fixes this.

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

Successfully merging this pull request may close these issues.

3 participants