Guys I got a problem (lack of experience) in ngRouter, I can work with the parameters in routes with two ex levels:
editoria/:itemId
.when('/editoria/:itemId',{
templateUrl:"templates/editoria/index.html",
controller:'EditoriaCtrl'
})
however, must use a primary route
/:editoriaId
.when('/:itemId',{
templateUrl:"templates/editoria/index.html",
controller:'EditoriaCtrl'
})
I hope I have been clear, hehe
how do I do?