title: Listen for multiple events on a $scope
body: <p>I have a directive that binds some functions to the local scope with <code>$scope.$on</code>.</p>
  
  <p>Is it possible to bind the same function to multiple events in one call?</p>
  
  <p>Ideally I'd be able to do something like this:</p>
  
  <pre><code>app.directive('multipleSadness', function() {
      return {
          restrict: 'C',
          link: function(scope, elem, attrs) {
              scope.$on('event:auth-loginRequired event:auth-loginSuccessful', function() {
                  console.log('The Ferrari is to a Mini what AngularJS is to ... other JavaScript frameworks');
              });
          }
      };
  });
  </code></pre>
  
  <p>But this doesn't work. The same example with the comma-separated event name string replaced with <code>['event:auth-loginRequired', 'event:auth-loginConfirmed']</code> doesn't wrk either.</p>
  
  <p>What does work is this:</p>
  
  <pre><code>app.directive('multipleSadness', function() {
      return {
          restrict: 'C',
          link: function(scope, elem, attrs) {
  
              scope.$on('event:auth-loginRequired', function() {
                  console.log('The Ferrari is to a Mini what AngularJS is to ... other JavaScript frameworks');
              });
              scope.$on('event:auth-loginConfirmed', function() {
                  console.log('The Ferrari is to a Mini what AngularJS is to ... other JavaScript frameworks');
              });
          }
      };
  });
  </code></pre>
  
  <p>But this is not ideal.</p>
  
  <p>Is it possible to bind multiple events to the same function in one go?</p>