[Answered ]-Redirection to index in Django and Angular

2👍

Redirect within the angularJS app:

scope.$apply(function() { 
   $location.path("/route"); 
});

Redirect outside the angularJS app:

window.location.replace('http://google.ca/');
👤oLeduc

Leave a comment