Filtering search

Hello everyone!
I have a question on this project Project, I need not display all items in the beginning, but as you apply the filter will display items. Is it possible? Someone knows some way. Thanks people!

You can add an ng-if on the list to check the length of the search field:

<ul ng-if="data.searchQuery.length > 0" class="list">
2 Likes

Thank you for helping me. Greetings. :grinning:

1 Like