I\'m trying to redirect to another route using:
$location.path(\"/route\");
But for some reason it is not working. I did an auto-complete w
If you need to redirect out of your angular application use $window.location. That was my case; hopefully someone will find it useful.
$window.location