christopherthielen / ui-router-extras

THIS PROJECT IS NO LONGER MAINTAINED -- Extras for UI-Router for AngularJS. Sticky States (a.k.a. parallel states), Deep State Redirect (for tab-like navigation), Future States (async state definition)
http://christopherthielen.github.io/ui-router-extras/
MIT License
917 stars 211 forks source link

Question: Support of get parameters? #334

Closed HadrienThomas closed 7 years ago

HadrienThomas commented 7 years ago

Hello!

I have this states structure:

root root.sticky root.normal

If I go from root.sticky?param=123 to root.normal then click a link with ui-sref="root.sticky" should I go back to the state with the param? It looks like with /{param} everything works for others, but not for me, the debug shows that the fact that it has no parameters makes it reload. In fact, I just want exactly the same behaviour than with a window.back, which works perfectly.

By the way, what does this message mean?:

Exiting root.sticky because it's a substate of root.sticky and wasn't found in Object {}

I tried dsr with sticky, it does not work either.

Anyway thanks, that add on is just awesome!