tried angular.forEach