Replace angular.forEach with native .some