title: Angular 2-Filtering table based on select dropdown (both are different components)
body: <p>I'm trying to filter data table component based on the value passed by select drop down component.I'm using <code>@Input()</code> attribute but the selected dropdown data is not been passed to data table component.
  If it is passed I will be able to filter table using the below logic:</p>
  
  <p>Not sure where I'm doing wrong here.</p>
  
  <pre><code>onChangeDetected(val){ 
    this.someData= this.someData.filter(x =&gt; x.value== val)
  }
  </code></pre>
  
  <p>Full implementation can be found <a href="https://plnkr.co/edit/4RKksBwWtR5UiJwQ32RP?p=preview" rel="noreferrer">here</a></p>