I have done the multi column filtering in angular 1.x and I want the similar functionality angular 2. Here I given the angular 1.x code.
$scope.data = $filter('filter')($scope.data, { head: $scope.HEAD, problem: $scope.PROBLEM, category: $scope.CATEGORY, subcategory: $scope.SUBCATEGORY, region: $scope.REGION });
and I tried it in angular 2,
let f = new filtering();
this.data = f.transform([this.HEAD, this.PROBLEM, this.CATEGORY, this.SUBCATEGORY, this.REGION]);