mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-17 22:34:43 +08:00
docs($location): fix link to $rootScope.Scope.$on
Previously missing the methods_ prefix. Closes #5798
This commit is contained in:
@@ -574,7 +574,7 @@ function $LocationProvider(){
|
||||
* @eventType broadcast on root scope
|
||||
* @description
|
||||
* Broadcasted before a URL will change. This change can be prevented by calling
|
||||
* `preventDefault` method of the event. See {@link ng.$rootScope.Scope#$on} for more
|
||||
* `preventDefault` method of the event. See {@link ng.$rootScope.Scope#methods_$on} for more
|
||||
* details about event object. Upon successful change
|
||||
* {@link ng.$location#events_$locationChangeSuccess $locationChangeSuccess} is fired.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user