diff options
| author | Fred Sauer | 2013-09-06 11:16:00 -0700 |
|---|---|---|
| committer | Brian Ford | 2013-09-30 14:04:59 -0700 |
| commit | 06a611c4b4cd58f8270f2cd3320f6499ac28629c (patch) | |
| tree | 3d6dc34a7502f4b2557036a55f89ecf181361f72 | |
| parent | 0868a076e066334403cab92216cbc4cbac26c45e (diff) | |
| download | angular.js-06a611c4b4cd58f8270f2cd3320f6499ac28629c.tar.bz2 | |
docs($route): reloadOnSearch affects hash fragment changes
reloadOnSearch also affects reloads due to $location.hash() changes
| -rw-r--r-- | src/ngRoute/route.js | 4 |
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. |
