dotJEM / angular-routing

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

Transition parameters #123

Open thorn0 opened 9 years ago

thorn0 commented 9 years ago

Is there a way to call $state.goto with such kind of parameters that they would be accessible inside of transition handlers, but wouldn't make it into the URL? For example, I'd like to handle a transition from entity/new to entity/210 in a special way when the Save button is pressed to create a new entity. It's not the same as just a transition from entity/new to an existing entity (say entity/209), so I want to differentiate these situations in the transition handler.

jeme commented 9 years ago

Not as things are right now, but it wouldn't be terrible hard to add...