From 4a318583481d49e5aa1ac798167252ed161e74c2 Mon Sep 17 00:00:00 2001 From: Caitlin Potter Date: Tue, 14 Jan 2014 13:41:50 -0500 Subject: [PATCH] docs($location): fix link to $rootScope.Scope.$on Previously missing the methods_ prefix. --- 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 9ab99cb719fa..c7a2f4029808 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. *