title: How to subscribe to an event on a service in Angular2?
body: <p>I know how to raise an event with the EventEmitter. I can also attach a method to be called if I have a component like this:</p>
  
  <pre><code>&lt;component-with-event (myevent)="mymethod($event)" /&gt;
  </code></pre>
  
  <p>When I have a component like this, everything works great. I moved some logic into a service and I need to raise an event from inside the Service. What I did was this:</p>
  
  <pre><code>export class MyService {
    myevent: EventEmitter = new EventEmitter();
  
    someMethodThatWillRaiseEvent() {
      this.myevent.next({data: 'fun'});
    }
  }
  </code></pre>
  
  <p>I have a component that needs to update some value based on this event but i can't seem to make it work. What I tried was this:</p>
  
  <pre><code>//Annotations...
  export class MyComponent {
    constructor(myService: MyService) {
      //myService is injected properly and i already use methods/shared data on this.
      myService.myevent.on(... // 'on' is not a method &lt;-- not working
      myService.myevent.subscribe(.. // subscribe is not a method &lt;-- not working
    }
  }
  </code></pre>
  
  <p>How do i make MyComponent subscribe to the event when the service that raises it is not a component?</p>
  
  <p>I'm on On 2.0.0-alpha.28</p>
  
  <p>EDIT: Modified my "working example" to actually work, so focus can be put on the not-working part ;)</p>
  
  <p>Example code:
  <a href="http://plnkr.co/edit/m1x62WoCHpKtx0uLNsIv" rel="noreferrer">http://plnkr.co/edit/m1x62WoCHpKtx0uLNsIv</a></p>