title: How to filter based on property value in an array of objects in Angular2?
body: <p>I have an input text that takes the area as show below:</p>
  
  <pre><code>&lt;input type="text" [(ngModel)]="areaSearch"&gt;
  </code></pre>
  
  <p>And, i have a list to filter based on the entered area against <code>area_name</code> property</p>
  
  <pre><code>&lt;ul *ngIf="areaSearch"&gt;
      &lt;li *ngFor="let area of areaList | filter : {area_name: areaSearch} "&gt;
          ...
      &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>Am getting error like <code>The pipe 'filter' could not be found</code>. Can anyone help me to solve this?.. </p>