Skip to content

Commit d435a51

Browse files
caitpSebastien Armand - sa250111
authored and
Sebastien Armand - sa250111
committed
docs($location): fix link to $rootScope.Scope.$on
Previously missing the methods_ prefix. Closes angular#5798
1 parent 08cf30c commit d435a51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/location.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ function $LocationProvider(){
595595
* @eventType broadcast on root scope
596596
* @description
597597
* Broadcasted before a URL will change. This change can be prevented by calling
598-
* `preventDefault` method of the event. See {@link ng.$rootScope.Scope#$on} for more
598+
* `preventDefault` method of the event. See {@link ng.$rootScope.Scope#methods_$on} for more
599599
* details about event object. Upon successful change
600600
* {@link ng.$location#events_$locationChangeSuccess $locationChangeSuccess} is fired.
601601
*

0 commit comments

Comments
 (0)