Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Load detail page from anywhere in the app

$
0
0

@madibaion wrote:

hi , am i have tab based layout , for this is design

.state('tab.parties', {
url: '/parties',
views: {
'tab-parties': {
templateUrl: 'templates/tabs/tab-parties.html',
controller: 'PartyListCtrl'
}
}
})
.state('tab.party-detail', {
url: '/parties/:id',
views: {
'tab-parties': {
templateUrl: 'templates/tabs/party-detail.html',
controller: 'PartyDetailCtrl'
}
}
})
.state('tab.trending', {
url: '/trending',
views: {
'tab-trending': {
templateUrl: 'templates/tabs/tab-trending.html',
controller: 'PartyTrendingCtrl'
}
}
})

how do load the tab.parties.detail page from the trending while passing the id the same way

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles