Hi I'm working on my first AngularJS project. Here is my current route looks like,
$stateProvider
.state('report', {
url: '/report/:Id',
templateUrl: 'templates/report.html'
})
The problem here is /report/:reportId
is handling only the first level, whereas my URL is looking like, /report/:val1/:val2/:val3/:val4/...
and so on. But it is only matching when the URL like /report/:val1
and not anything after.
How to have my URL to match any level? Please help.