Skip to content

Commit

Permalink
fix(injection): correction on ngRoute name module accessed by .name
Browse files Browse the repository at this point in the history
  • Loading branch information
davinkevin committed Oct 23, 2015
1 parent b39dc82 commit 4967d31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/config/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import angularRoute from 'angular-route';

export default angular
.module('app.config.route', [
angularRoute.name
angularRoute
])
.config($routeProvider => { "ngInject"; $routeProvider.otherwise({redirectTo: '/'}) })
.config($locationProvider => { "ngInject"; $locationProvider.html5Mode(true) });
.config($routeProvider => { "ngInject"; $routeProvider.otherwise({redirectTo: '/'}); })
.config($locationProvider => { "ngInject"; $locationProvider.html5Mode(true); });

0 comments on commit 4967d31

Please sign in to comment.