install ng2-search-filter code example
Example: npm i ng2-search-filter --save
search function
npm i ng2-search-filter --save
at module.ts
import { Ng2SearchPipeModule } from 'ng2-search-filter';
Ng2SearchPipeModule,
ts
keyword = '';
categoriesData = [ ]
<ion-searchbar placeholder="Filter Schedules" [(ngModel)]="keyword" animated="true"></ion-searchbar>