title: error -->The pipe 'filter' could not be found while using angular4
body: <p>I am doing unit-testing in angular4 -node.js deployed project.And while testing i found this error -</p>
  
  <pre><code>Template parse errors:
  The pipe 'filter' could not be found ("
    &lt;/thead&gt;
    &lt;tbody&gt;
      &lt;tr *ngFor="let[ERROR -&gt;] dat of result | filter:filterdata| 
  paginate: { itemsPerPage: 5, currentPage: p };let i = index "&gt;
  </code></pre>
  
  <p>so i added these two modules to my module.ts and spec.ts files --></p>
  
  <pre><code>import { PipesModule } from '../../pipes/pipes.module';
  import { Pipe, PipeTransform } from '@angular/core';
  
  @NgModule({
   imports: [PipesModule
   ],
  </code></pre>
  
  <p>And for this particular module import --></p>
  
  <pre><code>import { PipesModule } from '../../pipes/pipes.module';
  </code></pre>
  
  <p>Error -->Cannot find module '../../pipes/pipes.module'.</p>
  
  <p>Please help resolve the issue</p>