If this is my route setup, I'd like the "otherwise" route to redirect to '/inbound?page=0&size=20&sort=number,desc" but the "?" in the route is escaped to "%3F".
.config(function ($routeProvider) {
$routeProvider
.when('/outbound', {
templateUrl: 'views/shipments.html',
controller: 'ShipmentCtrl'
})
.when('/inbound', {
templateUrl: 'views/receipts.html',
controller: 'ReceiptsCtrl'
})
.otherwise({
redirectTo: '/inbound'
});
});