Let's say I go to /unknown-route?a=hello&b=world and $routeProvider does not recognize it and does not redirect to another route:
otherwise({ redirectTo: '/default-route' });
Is it possible to pass the specified parameters to the redirected route.
Here it will be /default-route?a=hello&b=world
angularjs angularjs-routing
Jordane
source share