SyntaxFix
Write A Post
Hire A Developer
Questions
Just add $index and do the following:
angular.forEach([0,1,2], function(count, $index) { if($index !== 1) { // do stuff } }