-
Couldn't load subscription status.
- Fork 3k
Closed
Labels
Description
Here's the use case to prove my point.
I'm editing a Model. On save I want to change URL to /model/:id (id comes form server), but calling $state.transitionTo('model', {id: ...}) causes the state change and hence the model is RELOADED. As if it were not on client!
I'm trying to pass the existing model to the state, so that may keep it (by reusing in resolve): state.transitionTo('model', {model: modelObject}). But the normalization code stringifies the "model", so that's not an object any more.
Is what I'm doing conceptually wrong? Is there any really good reason to keep normalization which prevents it from working?