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

Unable to access $resolve for some components #187

Open
soumyart opened this issue Jan 15, 2018 · 0 comments
Open

Unable to access $resolve for some components #187

soumyart opened this issue Jan 15, 2018 · 0 comments

Comments

@soumyart
Copy link

Followed the approach described in #170 . But the $resolve is not getting resolved for some of the child state. While debugging found that for that particular state watcher is getting called twice and first one has the $resolve property while the second one doesn't have. Due to the order of calling $lastViewScope is getting updated with the later one which doesn't have any $resolve.

Detail Explanation:

My route is /pizza/{itemId}/details/

The /detail route has a component associated with it where as the sibling /history doesn't have any component associated with it. For the history route the itemId is getting populated in breadcrumb while for the details route the itemId is not getting populated.

But the for the child of details route the itemIdis getting populated properly.

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

1 participant