title: Angular2 ngOnDestroy, emit event
body: <p>is it possible to emit a custom event on ngOnDestroy ? I tried, but it seems like it does not work... I basically need to know when a Directive is removed from the UI.</p>
  
  <pre><code>@Output() rowInit = new EventEmitter();
  @Output() rowDestroy = new EventEmitter();
  
  ngAfterViewInit() {
  
      this.rowInit.emit(this);
  }
  
  ngOnDestroy() {
      console.log("I get called, but not emit :(, ngAfterViewInit works :)");
      this.rowDestroy.emit(this);
  }
  </code></pre>