Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit d119e36

Browse files
committed
docs($location): fix link to $rootScope.Scope.$on
Previously missing the methods_ prefix. Closes #5798
1 parent 98b2f8e commit d119e36

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
@@ -574,7 +574,7 @@ function $LocationProvider(){
574574
* @eventType broadcast on root scope
575575
* @description
576576
* Broadcasted before a URL will change. This change can be prevented by calling
577-
* `preventDefault` method of the event. See {@link ng.$rootScope.Scope#$on} for more
577+
* `preventDefault` method of the event. See {@link ng.$rootScope.Scope#methods_$on} for more
578578
* details about event object. Upon successful change
579579
* {@link ng.$location#events_$locationChangeSuccess $locationChangeSuccess} is fired.
580580
*

0 commit comments

Comments
 (0)