In AngularJS 1.3.x, using $locationProvider.html5Mode(ture), will cause a Error:$location:nobase error. angular.module('app', ['ngResource', 'ngRoute']) .config(function($routeProvider, $locationProvider) { $locationProvider.html5Mode(true); $routePr…