mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-08 09:07:46 +08:00
Add a $route#updateParams method for changing the current route parameters without having to build a URL and call $location#path. Useful for apps with a structure involving programmatically moving between pages on the current route, but with different :param values. Properties in the object passed to $route.updateParams() will be added to the location as queryParams if not contained within the route's path definition.