JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.1/angular.js"></script>
<div ng-controller="MyCtrl">
<div ng-repeat="item in programModal | filter:filterByStrings ">
<p>{{item.id}}</p>
<p>{{item.url}}</p>
</div>
</div>
JavaScript
var myApp = angular.module('myApp', []);
myApp.controller('MyCtrl', function ($scope) {
$scope.itemsToFilter = ["b456", "foo"];
$scope.programModal = [{
"id": "a123",
"url": "laksdjflk;a",
}, {
"id": "b456"
}, {
"id": "b454"
}, {
"id": "cf56"
}];
$scope.filterByStrings = function (item) {
return ($scope.itemsToFilter.indexOf(item.id) === -1);
};
});