Removed underscore code in favor of angular.forEach to minimize dependencies.