angular.js advance filter
علی ذوالفقار
1401/03/11 07:37:47 (491)
filter inputs :
this model will search in all fields :
ng-model="search.$"
this model will search in specific field
ng-model="search.name"
ng-model="search.phone"
the strict is true or false so the the filter became : filter:search:[true or false]
true cause search to be exact match not include match
type="checkbox" ng-model="strict"
filter data and show :
ng-repeat="m in members | filter:search:strict"
{{m.name}}