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:secondParam">{{user.name}}</li>

</div>

JavaScript

function Main($scope){
    $scope.status = 1;
    $scope.secondParam = "hi";
    $scope.users = [{name: 'first user', status: 1},
                    {name: 'second user', status: 2},
                    {name: 'third user', status: 3}];
    
    $scope.isStatus = function(user,s){
        console.log(s);
        return (user.status == $scope.status);
    };
}