fix nested views

This commit is contained in:
Matias Alejo Garcia 2016-08-18 17:24:44 -03:00
parent 7b42c2e11a
commit e6f0295386
No known key found for this signature in database
GPG Key ID: 02470DB551277AB3
1 changed files with 16 additions and 1 deletions

View File

@ -96,79 +96,94 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
.state('wallet', {
url: '/wallet/{walletId}',
abstract: true,
cache: false,
needProfile: true,
views: {
'main': {
template: '<ui-view/>',
template: '<ion-nav-view/>',
},
},
})
.state('wallet.details', {
cache: false,
url: '/details',
templateUrl: 'views/walletDetails.html',
needProfile: true
})
.state('wallet.preferences', {
cache: false,
url: '/preferences',
templateUrl: 'views/preferences.html',
needProfile: true
})
.state('wallet.preferencesAlias', {
cache: false,
url: '/preferencesAlias',
templateUrl: 'views/preferencesAlias.html',
needProfile: true
})
.state('wallet.preferencesColor', {
cache: false,
url: '/preferencesColor',
templateUrl: 'views/preferencesColor.html',
needProfile: true
})
.state('wallet.preferencesEmail', {
cache: false,
url: '/preferencesEmail',
templateUrl: 'views/preferencesEmail.html',
needProfile: true
})
.state('wallet.backup', {
cache: false,
url: '/backup',
templateUrl: 'views/backup.html',
needProfile: true
})
.state('wallet.preferencesAdvanced', {
cache: false,
url: '/preferencesAdvanced',
templateUrl: 'views/preferencesAdvanced.html',
needProfile: true
})
.state('wallet.information', {
cache: false,
url: '/information',
templateUrl: 'views/preferencesInformation.html',
needProfile: true
})
.state('wallet.export', {
cache: false,
url: '/export',
templateUrl: 'views/export.html',
needProfile: true
})
.state('wallet.preferencesBwsUrl', {
cache: false,
url: '/preferencesBwsUrl',
templateUrl: 'views/preferencesBwsUrl.html',
needProfile: true
})
.state('wallet.preferencesHistory', {
cache: false,
url: '/preferencesHistory',
templateUrl: 'views/preferencesHistory.html',
needProfile: true
})
.state('wallet.deleteWords', {
cache: false,
url: '/deleteWords',
templateUrl: 'views/preferencesDeleteWords.html',
needProfile: true
})
.state('wallet.delete', {
cache: false,
url: '/delete',
templateUrl: 'views/preferencesDeleteWallet.html',
needProfile: true
})
.state('wallet.copayers', {
cache: false,
url: '/copayers',
needProfile: true,
cache: false,