I have a partial web page called home.html. When I run the page in chrome, the address shows me http://127.0.0.1:63342/Angular-01/htmlPage1.html?_ijt=vfdcblvb6ahn0t6et7rv6k8tm0#/home where as I should see a cleaner url (without the extension). I have configured my route as:
var myApp = angular.module("myModule", ["ngRoute"])
.config(function ($routeProvider) {
$routeProvider
.when("/home", {
templateUrl: "views/home.html",
controller: "homeController"
})
})
.controller("homeController", function ($scope) {
$scope.message = "Home page";
})
How do I achieve it?