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

child states missing when lazy loading #3375

Closed
1 of 3 tasks
nickeliah1 opened this issue Mar 17, 2017 · 4 comments
Closed
1 of 3 tasks

child states missing when lazy loading #3375

nickeliah1 opened this issue Mar 17, 2017 · 4 comments

Comments

@nickeliah1
Copy link

This is a:

  • Bug Report
  • Feature Request
  • General Query

My version of UI-Router is: 1.0.0-rc.1

Bug Report

Current Behavior:

When lazy loading states, any states registered in modules that are dependencies to the module being lazy loaded will not be registered.

in the example: lazy.foo is being registered, but not lazy.bar

it seems to be a timing issue, if you remove the dependency on lazy.bar from the module 'lazy' the state will be registered.

Expected Behavior:

lazy.bar and lazy.foo should be registered

Link to Plunker that reproduces the issue:

http://plnkr.co/edit/IfxBMmsZgKVAyxSZ7w0g?p=info

@christopherthielen
Copy link
Contributor

Thank you for the excellent bug report with plunker

@christopherthielen
Copy link
Contributor

This is the same bug as ui-router/angular#40 and needs to be fixed in ui-router/core

@christopherthielen
Copy link
Contributor

This issue was moved to ui-router/core#46

@christopherthielen
Copy link
Contributor

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