aboutsummaryrefslogtreecommitdiffstats
path: root/src/service/routeParams.js
diff options
context:
space:
mode:
authorVojta Jina2011-07-12 02:18:17 +0200
committerVojta Jina2011-09-08 23:00:59 +0200
commit22cb600280cecabf719ba1878719c907aa01ba18 (patch)
tree3c2247033a6d722e3b4eea0720ab466589ea247e /src/service/routeParams.js
parent5ba227c7cd3ddfcd3bffc3fd15daf8d6ec9b8713 (diff)
downloadangular.js-22cb600280cecabf719ba1878719c907aa01ba18.tar.bz2
fix($route): update $route to reflect $location changes
* update $route to reflect new $location * add some more unit tests to $route * fix some other failing unit tests * redirect overrides the url now Breaks $route custom redirect fn has only 3 params now
Diffstat (limited to 'src/service/routeParams.js')
-rw-r--r--src/service/routeParams.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service/routeParams.js b/src/service/routeParams.js
index 8a69903f..d9bfa61a 100644
--- a/src/service/routeParams.js
+++ b/src/service/routeParams.js
@@ -8,10 +8,10 @@
*
* @description
* Current set of route parameters. The route parameters are a combination of the
- * {@link angular.service.$location $location} `hashSearch`, and `path`. The `path` parameters
+ * {@link angular.service.$location $location} `search()`, and `path()`. The `path` parameters
* are extracted when the {@link angular.service.$route $route} path is matched.
*
- * In case of parameter name collision, `path` params take precedence over `hashSearch` params.
+ * In case of parameter name collision, `path` params take precedence over `search` params.
*
* The service guarantees that the identity of the `$routeParams` object will remain unchanged
* (but its properties will likely change) even when a route change occurs.