title: Angular 2: pipe items in ng-select
body: <p>is there any way, how to pipe items in <strong>ng-select</strong> component?</p>
  
  <p>Les say, I have list of items, having 2 types of values, "valueA" and "valueB": </p>
  
  <pre><code>export class Item {
     valueA: string;
     valueB: string;
  }
  </code></pre>
  
  <p>Then I have switch: "Show Values A" / "Show Values B".
  Based of the value on the switch, in the dropdown I want see valuesA/valuesB.</p>
  
  <p>I am using ng-select from <a href="https://valor-software.com/ng2-select/" rel="nofollow noreferrer">https://valor-software.com/ng2-select/</a>.</p>
  
  <p>Thanks for any suggestion.</p>