angular.forEach for cycling through API responses

Not sure what separates 'matches' into different groups