UI-Router Reload State without a full page refresh -


currently if want reload state, have use $state.reload(). causes full page refresh, unfriendly. looking way re-resolve dependencies , reset controller. possible?

just add on @dag 's answer:

do note, of 0.2.14 have option reload current state , not it's parent.

so $state.go(people.search, {}, {reload: true}); reload people state childs.

while $state.go(people.search, {}, {reload: "people.search"}); not reload people state reload people.search , childs.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -