refer this
<html xmlns="http://www.w3.org/1999/xhtml" ng-app="myapp">
<head>
<title></title>
<base href="/">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular-route.js"></script>
<script>
var app = angular.module("myapp", ["ngRoute"])
.config(function ($routeProvider, $locationProvider) {
$routeProvider.when("/home", {
templateUrl: "Templates/home.html",
controller: "homectrl"
})
$locationProvider.html5Mode(true);
}).controller("homectrl", function ($scope) {
$scope.message = "home page";
});
</script>
</head>
<body>
<a href="home">Home</a>
<table ng-view></table>
</body>
</html>