Skip to content

Commit 250aec7

Browse files
fredsaIgorMinar
authored andcommitted
docs(Scope): fix argument docs for $on
1 parent 3b317c5 commit 250aec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/rootScope.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ function $RootScopeProvider(){
619619
* event life cycle.
620620
*
621621
* @param {string} name Event name to listen on.
622-
* @param {function(event)} listener Function to call when the event is emitted.
622+
* @param {function(event, args...)} listener Function to call when the event is emitted.
623623
* @returns {function()} Returns a deregistration function for this listener.
624624
*
625625
* The event listener function format is: `function(event, args...)`. The `event` object

0 commit comments

Comments
 (0)