In my angularjs app, I am checking if user lands on landing page and is already authenticated, then redirect him to home page.
.state(\'landingpage\', {
This is an old thread, but I use $location.path() to accomplish redirection inside of a state.resolve() block