title: Does $rootScope.$emit broadcast to all controllers including itself?
body: <p>I'm using <code>$rootScope.$emit()</code> and <code>$rootScope.$on()</code> to broadcast and listen for state changes within my Angular app.</p>
  
  <p>In some cases multiple controllers can both emit and listen for the same events. If I had the following code within the same controller would this controller run its <code>.$on</code> code when it emits the event, or is the event only broadcast to other controllers?</p>
  
  <pre><code>$rootScope.$emit('adminChanged');
  ...
  $rootScope.$on('adminChanged', function() {
    getCustomerInfo();
  });
  </code></pre>