From bd7abbe54df974080ff8f9f021d7e667195b8a04 Mon Sep 17 00:00:00 2001 From: Philippe Vienne Date: Sun, 17 Apr 2016 20:06:50 +0200 Subject: [PATCH] Set the default route --- public/script.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/script.js b/public/script.js index d4aa38d..eb80dcd 100644 --- a/public/script.js +++ b/public/script.js @@ -33,7 +33,8 @@ controller: 'DupsCtrl' } } - }) + }); + $urlRouterProvider.otherwise("/"); }]); app.controller('AuthCtrl',['$scope', '$rootScope', function($scope, $rootScope){