From d119e3630246da3169e6b89e98a48d7731fd837e Mon Sep 17 00:00:00 2001 From: Caitlin Potter Date: Tue, 14 Jan 2014 13:41:50 -0500 Subject: docs($location): fix link to $rootScope.Scope.$on Previously missing the methods_ prefix. Closes #5798 --- src/ng/location.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ng/location.js b/src/ng/location.js index 9ab99cb7..c7a2f402 100644 --- a/src/ng/location.js +++ b/src/ng/location.js @@ -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. * -- cgit v1.2.3