I am trying to implement an angular route that should have several parameters. Here is an example of what I tried:
.when('/myRoute/paramA/:paramA/paramB/:paramB/paramC/:paramC', { templateUrl: 'abc.html', controller: 'pwrController as pwrCtrl' });
Now the problem is that I need to always pass paramA in order to pass paramB. Both paramA and paramB to pass paramC.
Is there any way in angular where I can pass paramA, paramB or paramC on my own?
Thanks.
source share