aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngRoute/route.js
diff options
context:
space:
mode:
authorUmur Kontacı2013-09-12 20:02:59 +0300
committerPete Bacon Darwin2013-09-14 21:34:16 +0100
commit3b5fd53e2db3dafedd0f0e65ab272379aff81139 (patch)
tree8fc09eeca00df01b75fe58e4f7747c07eaa25279 /src/ngRoute/route.js
parentda3dc5c5fe4d7ea3c174f0df98f2aaa282eefef2 (diff)
downloadangular.js-3b5fd53e2db3dafedd0f0e65ab272379aff81139.tar.bz2
docs(ngRoute): add missing parameter to $routeChangeError
The first parameter in $routeChangeError is the event object. Closes #3986
Diffstat (limited to 'src/ngRoute/route.js')
-rw-r--r--src/ngRoute/route.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ngRoute/route.js b/src/ngRoute/route.js
index c487d6f1..f671ad16 100644
--- a/src/ngRoute/route.js
+++ b/src/ngRoute/route.js
@@ -373,6 +373,7 @@ function $RouteProvider(){
* @description
* Broadcasted if any of the resolve promises are rejected.
*
+ * @param {Object} angularEvent Synthetic event object
* @param {Route} current Current route information.
* @param {Route} previous Previous route information.
* @param {Route} rejection Rejection of the promise. Usually the error of the failed promise.