This commit is contained in:
Jon Lambson 2017-08-11 21:49:18 -06:00
parent 8b91bd4d69
commit 5455b16ec7
1 changed files with 10 additions and 10 deletions

View File

@ -7,6 +7,16 @@ app.config(['$stateProvider', '$urlRouterProvider', 'localStorageServiceProvider
$urlRouterProvider.otherwise('/splash-page'); $urlRouterProvider.otherwise('/splash-page');
$stateProvider $stateProvider
.state('splash-page', {
data: { 'requiresLogin': false },
params: {
// 'toState': 'home',
'toParams': {
}
},
url: '/splash-page',
templateUrl: '/templates/splash-page.html',
})
.state('app',{ .state('app',{
data: { 'requiresLogin': true }, data: { 'requiresLogin': true },
url: '/', url: '/',
@ -24,16 +34,6 @@ app.config(['$stateProvider', '$urlRouterProvider', 'localStorageServiceProvider
} }
} }
}) })
.state('splash-page', {
data: { 'requiresLogin': false },
params: {
// 'toState': 'home',
'toParams': {
}
},
url: '/splash-page',
templateUrl: '/templates/splash-page.html',
})
.state('app.home', { .state('app.home', {
url: 'home', url: 'home',
views: { views: {