Base Href And Angular Routing And Views August 31, 2023 Post a Comment I'm developing a web application which defines the in the header as explained in this article. The default URL that is mapped is http://localhost/phoenSolution 1: Removing the slash from the viewsapp.config(["$routeProvider", function ($routeProvider) { $routeProvider.when('/login', { templateUrl: 'views/login.html', controller: 'LoginCtrl' }); }]); Copyand making links like: <ahref="login">Login</a>Copybut leaving the slash for the route resolved the problem. Share Post a Comment for "Base Href And Angular Routing And Views"
Post a Comment for "Base Href And Angular Routing And Views"