Here is my app.js route file in AngularJS
app.js
var app = angular.module(\'myApp\', [\'ngRoute\', \'ngAnimate\', \'toaster\']); app.config([\'$routeP
try changing:
$locationProvider.html5Mode(true);
To:
$locationProvider.html5Mode({ enabled: true, requireBase: false });