Hi, I have a list of elements that I display in an ng-repeat. I read about filters but what I need is the opposite. So a filter reduce a list of items, what I want is to display nothing until the user enter something in my input field and then display the items. So it's more a search than a filter. I watched on the net but found only ressources for Filters.
My last option if nothing built-in exists is to create a $watch and populate an other $scope element like $scope.filteredItems and then do a ng-repeat on that. But maybe I'm missing something, any ideas ? Thanks ! -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
