Skip to content

Commit

Permalink
Step 5.6: Set html5Mode and parties as default route
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Kisiela authored and Dotan Simha committed Nov 22, 2016
1 parent b596464 commit 3c26ccd
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion imports/ui/components/socially/socially.js
Expand Up @@ -18,4 +18,13 @@ export default angular.module(name, [
template,
controllerAs: name,
controller: Socially
});
})
.config(config);

function config($locationProvider, $urlRouterProvider) {
'ngInject';

$locationProvider.html5Mode(true);

$urlRouterProvider.otherwise('/parties');
}

0 comments on commit 3c26ccd

Please sign in to comment.