Is this type of routing is possible with ui-router ?
parent state ---> /saved/:id child state ---> /saved/:id/eat
Bellow is my code snippet. Why I try to do this the page is redirected to route.
.state('frouits.banana.saved', {
url: '/saved/:id',
views: {
parameters: {
templateUrl: 'banana.html'
}
}
})state('frouits.banana.saved.eat', {
url: '/saved/:id/eat',
views: {
parameters: {
templateUrl: 'banana.html'
}
}
})