When user has enter correct username and password I want redirect to another location. But when I used $location.path(\'dashboard\') here then URL of browser is cha
$location.path(\'dashboard\')