aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngRoute/route.js
diff options
context:
space:
mode:
authorFred Sauer2013-09-06 11:16:00 -0700
committerBrian Ford2013-09-30 14:04:59 -0700
commit06a611c4b4cd58f8270f2cd3320f6499ac28629c (patch)
tree3d6dc34a7502f4b2557036a55f89ecf181361f72 /src/ngRoute/route.js
parent0868a076e066334403cab92216cbc4cbac26c45e (diff)
downloadangular.js-06a611c4b4cd58f8270f2cd3320f6499ac28629c.tar.bz2
docs($route): reloadOnSearch affects hash fragment changes
reloadOnSearch also affects reloads due to $location.hash() changes
Diffstat (limited to 'src/ngRoute/route.js')
-rw-r--r--src/ngRoute/route.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngRoute/route.js b/src/ngRoute/route.js
index f671ad16..f0bfde37 100644
--- a/src/ngRoute/route.js
+++ b/src/ngRoute/route.js
@@ -109,8 +109,8 @@ function $RouteProvider(){
* The custom `redirectTo` function is expected to return a string which will be used
* to update `$location.path()` and `$location.search()`.
*
- * - `[reloadOnSearch=true]` - {boolean=} - reload route when only $location.search()
- * changes.
+ * - `[reloadOnSearch=true]` - {boolean=} - reload route when only `$location.search()`
+ * or `$location.hash()` changes.
*
* If the option is set to `false` and url in the browser changes, then
* `$routeUpdate` event is broadcasted on the root scope.