Keir
Keir

Reputation: 460

UI-Router: move from child state to sibling without reloading parent controller?

When I use $state.go in a child of a given parent to move to another child state of that same parent, the controller associated with the parent seems to always reload, is there any way to avoid this behavior, only triggering the controller of the newly selected child state?

Upvotes: 0

Views: 883

Answers (1)

Keir
Keir

Reputation: 460

Ok turns out reloading was happening because I was supplying a parameter of the parent in addition to parameters for the children.

Upvotes: 1

Related Questions