As per your code, you are trying to add criteria multiple times, then you want to filter with those criteria.
Here in your JSON there is only 3 property. {name, phone, and age}.
So your criteria should not exceed 3 row and it should not have same thing twice.
If you do that you need to build your own filter.
Use following code
$scope.newList = function() {
var searchBy = {};
angular.forEach($scope.newCriteria, function(criteria, key) {
searchBy[criteria.name] = criteria.value;
});
$scope.newfriends = $filter('filter')($scope.friends, searchBy);
}
And HTMl as follows
<div id="searchy">
<ul class="list-unstyled">
<li style="display: inline-block" ng-repeat="crtia in newCriteria">
<table>
<tr>
<td>
<select ng-model="crtia.name" ng-options="searchopt for searchopt in searchcriteria " ng-click="searchy.check()"></select>
</td>
<td>
<input ng-model="crtia.value" placeholder="{{crtia.name}}" ng-change="newList()" />
</td>
</tr>
</table>
</li>
</ul> <button ng-click="searchy.generate()">Add Criteria</button> </div>
Here is the updated plunker.
http://plnkr.co/edit/r5OcI366dyvLQ24fFIje?p=preview.
$filterin your controller, check my answer.