title: Remove first Item of the array (like popping from stack)
body: <p>I have list of items created via <code>ng-repeat</code>. I also have Delete button.
  Clicking delete button removes last item of the array one by one. <strong><a href="http://plnkr.co/edit/QDuklfthp2g7MMAoWxIx?p=preview" rel="noreferrer">Plunker</a></strong></p>
  
  <p>But I want to remove items one by one starting from the first item. How can I do that? I used this for removing list Items:</p>
  
  <pre><code>  $scope.index = 1;
    $scope.remove = function(item) { 
      var index = $scope.cards.indexOf(item);
      $scope.cards.splice(index, 1);     
    }
  </code></pre>
  
  <p>Is there any way I can remove from the top? </p>