title: AngularJS foreach delay loop
body: <p>I want to use delay in my <code>angular.foreach</code> loop. I have a list and I want to display them one by one with 2 seconds periods.</p>
  
  <pre><code> angular.forEach(vm.SimulationResult, function (value, key) {
                      timeout2 = $timeout(function () {
                          vm.Alerts.push({ msg: value.MainStatus });
                      }, 2000);
                  });
  </code></pre>
  
  <p>what should I do ?</p>