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

fix(ngView): remove reference to scope #7584

Closed
wants to merge 1 commit into from

Conversation

RichardLitt
Copy link
Contributor

$route.name.scope.current returns undefined in the docs example,
as scope is never injected into the relevant controller.
Scope doesn't need to be there, so it's best to just remove it.

Suggested in #5076.

$route.name.scope.current returns undefined in the docs example,
as scope is never injected into the relevant controller.
Scope doesn't need to be there, so it's best to just remove it.

Suggested in angular#5076.
@mary-poppins
Copy link

Thanks for the PR! Please check the items below to help us merge this faster. See the contributing docs for more information.

  • Uses the issue template (#7584)

If you need to make changes to your pull request, you can update the commit with git commit --amend.
Then, update the pull request with git push -f.

Thanks again for your help!

@RichardLitt
Copy link
Contributor Author

Let's pretend #7583 never happened. Fixed tree. Better.

@btford
Copy link
Contributor

btford commented May 24, 2014

You can actually update existing PRs by force-pushing to the same remote branch.

@RichardLitt
Copy link
Contributor Author

By the time I fixed my local git, seemed easier to just delete and redo the changes in a new branch. It's only one line of code. :P You're right, though. Will do that if I merge by accident in the future.

@btford
Copy link
Contributor

btford commented May 24, 2014

Landed as 3fc95e0. Thanks!

@btford btford closed this May 24, 2014
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