Use angular.forEach