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

Future state's do not inherit the url property of their parent as a prefix of their own urlPrefix. #292

Open justnick21 opened 8 years ago

justnick21 commented 8 years ago

It seems odd to me that futureStateProvider doesn't use the same logic as the $stateProvider. It is easily fixed by just using the full url to the state you are using a future state placeholder for but did catch me out as I expected the behaviour to be consistent.

From the ui-router docs: "[States] do inherit the url property of their parent as a prefix of their own url."