docs(Scope): fix argument docs for $on
This commit is contained in:
+1
-1
@@ -619,7 +619,7 @@ function $RootScopeProvider(){
|
||||
* event life cycle.
|
||||
*
|
||||
* @param {string} name Event name to listen on.
|
||||
* @param {function(event)} listener Function to call when the event is emitted.
|
||||
* @param {function(event, args...)} listener Function to call when the event is emitted.
|
||||
* @returns {function()} Returns a deregistration function for this listener.
|
||||
*
|
||||
* The event listener function format is: `function(event, args...)`. The `event` object
|
||||
|
||||
Reference in New Issue
Block a user