title: Emitting events globally
body: <p>What am trying to achieve is I would like to emit a custom event in angular2 globally and have multiple components listen to it so not just the parent-child pattern</p>
  
  <p>In my event source component, I have</p>
  
  <pre><code>export class EventSourceComponent{
  
    @Output() testev = new EventEmitter();
  
    onbtnclick(){
      this.testev.emit("i have emitted an event")
    }
   }
  </code></pre>
  
  <p>Now I would like other components to get this event</p>
  
  <pre><code>export class CmpTwoComponent{
  
      //here get the emitted event with data
    } 
  </code></pre>
  
  <p>How do I achieve the above?</p>