dotJEM / angular-routing

Enhanced state based routing for Angular applications!
https://dotjem.github.io/angular-routing/
MIT License
75 stars 9 forks source link

support for lookup syntax in goto state #5

Closed jeme closed 11 years ago

jeme commented 11 years ago

In order to go to a state relative to the current state, the user has to do the following:

$state.goto($state.lookup('../sibling'), { /* some params */ });

We should consider if it should be possible to do it more directly:

$state.goto('../sibling', { /* some params */ });