Test angular.forEach