Hi Nithi,
 
Take help from below article
 
https://www.c-sharpcorner.com/article/angular-input-directiveinput/
 
In this article, data can be filtered without any pipe, with the help of functions, however, in this article, he explained concept of @Input, which is not required in your case.