Skip to content

Multiple state objects #304

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

Closed
mattbroekhuis opened this issue Aug 8, 2013 · 1 comment
Closed

Multiple state objects #304

mattbroekhuis opened this issue Aug 8, 2013 · 1 comment

Comments

@mattbroekhuis
Copy link

I have been trying to do this all day, to no avail. I have two components.

Component 1 -- uses the router, and changes pages.
Component 2 -- a menu that is independent of the routered component, but could potentially fire events that could change state in the first (routered) component.

I would like to maintain separate (url-less) states scoped to just that second menu component, but everything seems to be tied to root scope no matter what I do. I would like a different instance of the $state for each module, and enable the routing only for one of them.

Is this possible? The FAQ shows * something * about this, but it seems to be fixing the problem where you are getting this behavior and you don't want it.

@cboden
Copy link

cboden commented May 23, 2014

I'm trying to do the same thing. It doesn't seem possible unless exponentially declaring more states.

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