I am getting data from api and subscribed it and stored in a variable and displaying the data in front end. Now I need to write a search functionality for it.