In the version of Angular 2 they removed the pipe Filter
that filtered any coincidence in any property of a list of objects, in the documentation it says that if you need a pipe Filter
that we manufacture it, but I do not know how to do this.
What I need is:
<ion-searchbar [(ngModel)]="buscar"></ion-searchbar>
<div *ngFor="let producto of productos | Filter: buscar ">
<div> {{producto.nombre}} </div>
...
</div>