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

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -