I want to create a filter for my search input-field.
The data is on the server and the filter shall to filter the result from the server.
Currently I've created a variable "res" which has the Resource of my API with the method PUT.

I've created a input field with ng-model="searching" and in my table I've added a ng-repeat "data in datalist | search: searching"

I know that the Filter has the following scaffolding:

```
.filter('search', function () {
    return function (input, searchtext) {
        return ...;
    };
});

```

Can anyone give me a hint what I have to do?