title: Angular - Delaying forEach
body: <p>I have a problem. I am trying to create an animation, changing the color of several layers with a timeout between painted. </p>
  
  <pre><code>$scope.StartMovementsAnimation = function()
  {
        angular.forEach($scope.GameMovements, function(movement){
         if (movement == "Green")
         {
            $scope.Green = true;
         }
         else (movement == "Orange")
         {
            $scope.Orange = true;
         } 
    });
  }
  </code></pre>
  
  <p>The problem I have is that I do not know how to stop or delay the flow loop. I'm pretty lost. I tried with $ timeout, sleep etc but does not work. </p>
  
  <p>Any solution? </p>
  
  <p>thanks</p>