docs(ngRoute): add missing parameter to $routeChangeError

The first parameter in $routeChangeError is the event object.

Closes #3986
This commit is contained in:
Umur Kontacı 2013-09-12 20:02:59 +03:00 committed by Pete Bacon Darwin
parent da3dc5c5fe
commit 3b5fd53e2d

View file

@ -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.