Skip to content

Commit

Permalink
Enable html5 mode for routing.
Browse files Browse the repository at this point in the history
  • Loading branch information
doppio committed Mar 14, 2016
1 parent 378f502 commit 6488e15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
'oitozero.ngSweetAlert',
'angularMoment'
]).
config(['$routeProvider', function($routeProvider) {
config(['$routeProvider', '$locationProvider', function($routeProvider, $locationProvider) {
$routeProvider.otherwise({redirectTo: '/'});
$locationProvider.html5Mode(true);
}]);
})();
4 changes: 2 additions & 2 deletions public/app.min.js

Large diffs are not rendered by default.

0 comments on commit 6488e15

Please sign in to comment.