title: Angular JS break ForEach
body: <p>I have an angular foreach loop and i want to break from loop if i match a value. The following code does not work.</p>
  
  <pre><code>angular.forEach([0,1,2], function(count){
    if(count == 1){
      break;
    }
  });
  </code></pre>
  
  <p>How can i get this? </p>