From 06a611c4b4cd58f8270f2cd3320f6499ac28629c Mon Sep 17 00:00:00 2001 From: Fred Sauer Date: Fri, 6 Sep 2013 11:16:00 -0700 Subject: docs($route): reloadOnSearch affects hash fragment changes reloadOnSearch also affects reloads due to $location.hash() changes --- src/ngRoute/route.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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. -- cgit v1.2.3