Closed
Description
Here is the test case: http://plnkr.co/edit/EuWGIKcyXCTY1vHiQXMj?p=preview
The error happens when:
- uiView inside a conditional ngInclude
- Switch ngInclude from On to Off and then back to On
- Go to a different root state
Any workaround before a fix?
Here is what I'm trying to do:
A not-logged-in user can go to any url, but he/she will see a login form. Once he/she logs in, he'll see that url's corresponded state view.
Should I go with a different approach? lazyLoad/future states that register after a user logs in? I'm not quite sure how that works.