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

Side menu disappears when navigate from one view to another

$
0
0

@dh_soni wrote:

Hi,

I have 2 views transaction and details. On the transaction view the side menu appears fine. At the bottom of transaction view I have a button Details. On click of this button the details page is displayed but the side menu disappears and back button comes up.

Please, I need help to display the side menu on the details page.

Code:
app.js
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider

.state('app', {
url: '/app',
abstract: true,
templateUrl: 'templates/menu.html',
controller: 'AppCtrl'

})
.state('app.transactions', {
url: '/transactions',
views: {
'menuContent': {
templateUrl: 'templates/transactions.html',
controller: 'transactionCtrl'
}
}
})

.state('app.details, {
url: '/details,
views: {
'menuContent': {
templateUrl: 'templates/details.html',
}
}
})
});
transactions.html last line

Regards
Dharmendra Soni

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>