Angularjs filter
-
How to make a filter with a condition doesn't matter
It's like living.
quests.items|filter:{publish:1,groupe:'live'}
Got to do it.
!= live
made it.ng-hide="item.groupe == 'live'"
♪ but it's interesting how to remove the filter.
-
♪ https://docs.angularjs.org/api/ng/filter/filter specified:
The predicate can be negated by prefixing the string with!
It means to reverse the predicament of the line should start with the sign "!
quests.items|filter:{publish:1,groupe:'!live'}
Important:
filter
I'm not checking. equality♪ drivingI mean, nota == b
a
a.contains(b)