docs($route): reloadOnSearch affects hash fragment changes

reloadOnSearch also affects reloads due to $location.hash() changes
This commit is contained in:
Fred Sauer 2013-09-06 11:16:00 -07:00 committed by Brian Ford
parent 0868a076e0
commit 06a611c4b4

View file

@ -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.