Can UI-router handle this type of routing?
Parent state - /saved/:id Child state - /saved/:id/eat
Here is the code snippet I am using. However, when I attempt to access it, the page redirects:
.state('fruits.banana.saved', {
url: '/saved/:id',
views: {
parameters: {
templateUrl: 'banana.html'
}
}
})state('fruits.banana.saved.eat', {
url: '/saved/:id/eat',
views: {
parameters: {
templateUrl: 'banana.html'
}
}
})