Just under the Hashbangs or HTML5 History URLs? title, in the 3rd code block it reads:
//get the module from creating an angular module
angular.module('HTML5ModeURLs', []).config(['$routeProvider', function($route) {
$route.html5Mode(true);
}]);
Where it should be $locationProvider (regardless of the injected variable name).
Just under the Hashbangs or HTML5 History URLs? title, in the 3rd code block it reads:
Where it should be
$locationProvider(regardless of the injected variable name).