docs(Scope): fix argument docs for $on

This commit is contained in:
Fred Sauer 2013-01-28 14:55:49 -08:00 committed by Igor Minar
parent 3b317c5dcb
commit 250aec71f3

View file

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