Reputation: 460
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
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