Angularjs filter negated

后端 未结 6 710
迷失自我
迷失自我 2020-11-30 10:01

I have a set of items that I want to filter in ng-repeat using an ng-model as the string to filter the set, so far I haven\'t found a way to make it work when the expression

6条回答
  •  难免孤独
    2020-11-30 10:37

    '!' character prepend to the filter string, like below:

    filter:'!'+languageOrigin

    
    
    

提交回复
热议问题