Angular.forEach and evalAsync

the angular.forEach change was because model.forEach was causing Firefox
30 to crash.

The $rootScope.$evalAsync was because too many digest cycles were
happening and it was crashing.

I don't know if these changes are necessary for everyone, but they were
for me.