title: Limit array length Angular.js
body: <p>How can I set the an arrays maximum length to only 11. Does this need to be done in the view with LimitTo? or do I need to declare another variable to the controller?</p>
  
  <pre><code>       bowlingApp.controller('bowlPoints', function ($scope){
      $scope.bowlPoints = [];
  
      $scope.addBowlPoints = function() 
      {
        $scope.bowlPoints.push($scope.enteredPoints);
      };
    });
  
  &lt;td ng-repeat="points in bowlPoints track by $index | limitTo:11"&gt;{{points}}&lt;/td&gt;
  </code></pre>