ui-router icon indicating copy to clipboard operation
ui-router copied to clipboard

1.0.0alpha0 - $resolve not getting applied if there is no controller on state.

Open PabloHidalgo opened this issue 10 years ago • 3 comments

Resolved data is not getting exposed for a state unless the state have a controller defined.

It's the proof of concept plnkr showing it. You only need to comment/uncomment the controller definition inside state (script.js)

http://plnkr.co/edit/0EYlJ7mN43P0xALNK2Ee?p=preview

Reference thread: https://github.com/angular-ui/ui-router/pull/2605

Thanks for all, and keep up the good work!!!

PabloHidalgo avatar Mar 17 '16 21:03 PabloHidalgo

Thanks! I thought we already had this issue tracked, but I could not find it.

@PabloHidalgo How are you finding 1.0 branch so far?

christopherthielen avatar Mar 17 '16 22:03 christopherthielen

@christopherthielen I only used 1.0 branch for the proof of concept / project of components showcase, based on a configuration that I heavily used on various big projects (multiple views, nested states with resolves, and some more logic), and It's working as expected, although I'm going to start messing around with new 1.0 features, as they looks really promising!

PabloHidalgo avatar Mar 18 '16 16:03 PabloHidalgo

Fixed in 07fc30c6596f9558b7fd4ef482f26c344e2cc79f

christopherthielen avatar Mar 27 '16 18:03 christopherthielen