Skip to content

Commit 3b5fd53

Browse files
umurkontacipetebacondarwin
authored andcommitted
docs(ngRoute): add missing parameter to $routeChangeError
The first parameter in $routeChangeError is the event object. Closes angular#3986
1 parent da3dc5c commit 3b5fd53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ngRoute/route.js

+1
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ function $RouteProvider(){
373373
* @description
374374
* Broadcasted if any of the resolve promises are rejected.
375375
*
376+
* @param {Object} angularEvent Synthetic event object
376377
* @param {Route} current Current route information.
377378
* @param {Route} previous Previous route information.
378379
* @param {Route} rejection Rejection of the promise. Usually the error of the failed promise.

0 commit comments

Comments
 (0)