I\'ve been working on a large Angular app for almost a year now and I\'m stuck trying to do what I expected to be trivial.
Here are two routes I have with params (sh
I'm not sure if you would consider this a better solution than what you've got, but it is a solution.
In your initialization code, add the following:
app.run(["$rootScope", function ($rootScope) {
$rootScope.$on("$routeChangeSuccess", function (e, current) {
$rootScope.query = $.param(current.params);
});
}]);
Then, in your HTML, make your links as follows:
Navigate to B