0

$route service provides $route.reload().

I am trying to redirect to someUrl.

Something like $route.load('url') or $route.redirect('url');

Can't understand documentation.

1
  • 1
    depends where you are trying to do redirect from...can use $location.path() as setter or getter docs.angularjs.org/api/ng.$location. More details would help Commented Nov 17, 2013 at 14:39

1 Answer 1

1

$location.path( "/toUrl" ); documentation performs thre redirect.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.