aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCaitlin Potter2014-01-14 13:41:50 -0500
committerCaitlin Potter2014-02-12 14:39:41 -0500
commitd119e3630246da3169e6b89e98a48d7731fd837e (patch)
tree4af0cdda0a4fe35581fde7c1413ddfccb961c287 /src
parent98b2f8ef18cd3024e566252d4537075cb3e4a24b (diff)
downloadangular.js-d119e3630246da3169e6b89e98a48d7731fd837e.tar.bz2
docs($location): fix link to $rootScope.Scope.$on
Previously missing the methods_ prefix. Closes #5798
Diffstat (limited to 'src')
-rw-r--r--src/ng/location.js2
1 files changed, 1 insertions, 1 deletions
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.
*