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

FutureState register order is important? #314

Closed ipoly closed 8 years ago

ipoly commented 8 years ago

In ui-router I can register states in any order. But in FutureState I need register child state after the parent state has been registered. If this is a expected behavior? Thanks. http://plnkr.co/edit/umUmXgJ7dqu10zz4m1W1?p=preview

christopherthielen commented 8 years ago

Yes, future states registration order is important; parent states must be registered before children.

This might change in the future, but for now that's expected.