I\'m developing a web application which defines the
in the header as explained in this article.
The default URL that is mappe
Removing the slash from the views
app.config(["$routeProvider", function ($routeProvider) {
$routeProvider.when('/login', {
templateUrl: 'views/login.html',
controller: 'LoginCtrl'
});
}]);
and making links like:
<a href="login">Login</a>
but leaving the slash for the route resolved the problem.