mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-21 10:05:34 +08:00
docs(ngRoute): add missing parameter to $routeChangeError
The first parameter in $routeChangeError is the event object. Closes #3986
This commit is contained in:
committed by
Pete Bacon Darwin
parent
da3dc5c5fe
commit
3b5fd53e2d
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user