Hello.
I would like to know what are the scenarios where back buttons actually appear.
I have these states :
.state('categories', {
'abstract':true,
url: '/categories',
templateUrl: 'templates/categories.html'
})
.state('categories.posts', {
url: '/:CategoryId',
views: {
'categories-posts': {
templateUrl: 'templates/categories-posts.html',
controller: 'CatPostsCtrl'
}
}
})
Where I display posts belonging to a given category.
Then I have these states:
.state('posts', {
abstract: true,
url: '/posts',
templateUrl: 'templates/posts.html'
})
.state('posts.details', {
url: '/:PostId',
views: {
'posts-details': {
templateUrl: 'templates/posts-details.html',
controller: 'PostsCtrl'
}
}
})
That displays the post once clicked on from the list of posts displayed in the category.
What I want is a back button from the post details to the post list inside the category.
Is it naturally achievable or should I hack the button myself?
Thank you.