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
Check your routing method:
if your routing state is like this
.state('app.register', { url: '/register', views: { 'menuContent': { templateUrl: 'templates/register.html', } } })
then you should use
$location.path("/app/register");