Thursday 15 July 2010

angularjs - Go to grandparent state with ui-router -



angularjs - Go to grandparent state with ui-router -

with ui-router can utilize $state.go('^') go parent state without having specify it's total path. there similar way go grandparent state (my parent state abstract)?

in documentation examples can see ^ parent, maybe has solution this?

you can transition grandparent state with

$state.go('^.^')

angularjs angular-ui-router

No comments:

Post a Comment