Here is my app.js route file in AngularJS
app.js
var app = angular.module(\'myApp\', [\'ngRoute\', \'ngAnimate\', \'toaster\']); app.config([\'$routeP
With html5mode you have to specify the base url in your html file for eg,
Some links you can go through for your reference,
https://docs.angularjs.org/error/$location/nobase
https://scotch.io/quick-tips/pretty-urls-in-angularjs-removing-the-hashtag