JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app ng-controller="Main">
<input type="text" ng-model="status">
<li ng-repeat="user in users | filter:isStatus">{{user.name}}</li>
{{users}}
</div>
JavaScript
function Main($scope){
$scope.status = 1;
$scope.users = [{name: 'first user', status: 1},
{name: 'second user', status: 2},
{name: 'third user', status: 3}];
$scope.isStatus = function(user){
return (user.status == $scope.status);
};
}