title: Angular2 rc.6 Use pipe in component
body: <p>In the rc.5 I used to do in my component :</p>
  
  <pre><code>private myCustomPipe = new CustomPipe()
  this.myCustomPipe.transform(...)
  </code></pre>
  
  <p>Since I did migrate the application however, I am having an error on new CustomPipe() (I did move the injection from my component to my module's declarations).</p>
  
  <p>In app.module.ts : </p>
  
  <pre><code>@NgModule({
      declarations: [CustomPipe],
      imports: [
          BrowserModule,
          FormsModule,
          HttpModule
      ],
      bootstrap: [AppComponent],
  })
  export class AppModule {}
  </code></pre>
  
  <p>Any idea how to achieve this in the Rc.6 ?</p>