change
This commit is contained in:
parent
8b91bd4d69
commit
5455b16ec7
20
js/app.js
20
js/app.js
|
@ -7,6 +7,16 @@ app.config(['$stateProvider', '$urlRouterProvider', 'localStorageServiceProvider
|
|||
$urlRouterProvider.otherwise('/splash-page');
|
||||
|
||||
$stateProvider
|
||||
.state('splash-page', {
|
||||
data: { 'requiresLogin': false },
|
||||
params: {
|
||||
// 'toState': 'home',
|
||||
'toParams': {
|
||||
}
|
||||
},
|
||||
url: '/splash-page',
|
||||
templateUrl: '/templates/splash-page.html',
|
||||
})
|
||||
.state('app',{
|
||||
data: { 'requiresLogin': true },
|
||||
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', {
|
||||
url: 'home',
|
||||
views: {
|
||||
|
|
Loading…
Reference in New Issue