nl_tokens: @ngdoc method @name $rootScope . Scope#$on @kind function
pl_tokens: function ( name , listener ) { var namedListeners = this . $$listeners [ name ] ; if ( ! namedListeners ) { this . $$listeners [ name ] = namedListeners = [ ] ; } namedListeners . <mask> ( listener ) ; var current = this ; do { if ( ! current . $$listenerCount [ name ] ) { current . $$listenerCount [ name ] = 0 ; } current . $$listenerCount [ name ] ++ ; } while ( ( current = current . $parent ) ) ; var self = this ; return function ( ) { namedListeners [ indexOf ( namedListeners , listener ) ] = null ; decrementListenerCount ( self , 1 , name ) ; } ; }