I thought this would be an easy fix, but I can't seem to find the right answer anywhere.
// Here is a snippet of my routing file
...
.when('/pathA', templateA)
.when('/pathB', templateB)
.otherwise({ redirectTo: '/lollz' });
My issue arises when I try passing optional query parameters with both paths. The pages load properly without parameters, but whenever I include a parameter, the router redirects me to the page /lollz
. How can I configure the router to overlook the query parameters and only focus on the sub-paths?