JSFiddle - React, Tailwind, and code Playground

HTML

<body ng-app="myApp" ng-controller="myCtrl">





<div ng-repeat="x in records | filter: { email : '1' } ">{{x}}{{$last ? '' : ', '}}</div>


</body>

JavaScript

var myApp = angular.module("myApp", []);
myApp.controller("myCtrl", function($scope) {
  $scope.records = [
    {"email": "1"},
    {"email": "1"},
    {"email": "2"},
    {"email": "3"}
  ]
});