Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breadcrumb is binded on the wrong scope when using nested abstract view #10

Closed
RomainLK opened this issue Apr 28, 2014 · 1 comment
Closed

Comments

@RomainLK
Copy link

When using nested view, ui.router will fire several $viewContentLoaded.For instance if we have the following state:

resource
resource.list
resource.detail

If we access to detail directly, the last event fired will be for the abstract view. This mean that the binding of the breadcrumb is done on the abstract view's scope and not on the child view's scope.

I made a plunkr to demonstrate.

@ncuillery
Copy link
Owner

Right, thanks for reporting.

I just reproduce it in the sample here.

I had a clue with the 'increasing' property $id of scope...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants