@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 lineRegards
Dharmendra Soni
Posts: 1
Participants: 1