JSFiddle - React, Tailwind, and code Playground
HTML
<body ng-app>
<div ng-controller='appcontrol'>
<div ng-repeat="report in reports | filter:{reportTypeId:'5'}">
{{report.reportTypeCode}}
</div>
</div>
</body>
JavaScript
function appcontrol($scope){
$scope.reports = [
{
reportTypeId: 5,
reportTypeCode: "FINREP",
reportTypeLabel: "Financial Reporting"
},
{
reportTypeId: 9000002,
reportTypeCode: "REM HE",
reportTypeLabel: "High Earners"
},
{
reportTypeId: 3,
reportTypeCode: "COREP LE",
reportTypeLabel: "Large Exposures - COREP"
}
];
}