The landing URL is now '#/' which actually points to homeController

This commit is contained in:
Emmanuel ROHEE 2014-08-25 11:35:33 +02:00
parent 66d752dd1b
commit 95839212a7

View File

@ -45,7 +45,7 @@ matrixWebClient.config(['$routeProvider', '$provide', '$httpProvider',
templateUrl: 'room/room.html', templateUrl: 'room/room.html',
controller: 'RoomController' controller: 'RoomController'
}). }).
when('/home', { when('/', {
templateUrl: 'home/home.html', templateUrl: 'home/home.html',
controller: 'HomeController' controller: 'HomeController'
}). }).
@ -58,7 +58,7 @@ matrixWebClient.config(['$routeProvider', '$provide', '$httpProvider',
controller: 'UserController' controller: 'UserController'
}). }).
otherwise({ otherwise({
redirectTo: '/home' redirectTo: '/'
}); });
$provide.factory('AccessTokenInterceptor', ['$q', '$rootScope', $provide.factory('AccessTokenInterceptor', ['$q', '$rootScope',