I have the following code:
<select name="condition"
ng-options="operation.id as operation.description for operation in Operators | myfilter:criterion_id" >
</select>
and
module.filter('myfilter', function () {
return function (x) {
return ?????
};
});
I want to populate my select list with those options whose operation.id equals criterion_id. How may I achieve that?