title: Angular: how to iterate through all indices in an array except the final index using ng-repeat
body: <p><strong><em>I have an array...</em></strong></p>
  
  <pre><code>$scope.arr = ["first", "second", true];
  </code></pre>
  
  <p><strong>I am using ng-repeat iterate through and bind each index value to a <code>&lt;p&gt;</code> tag like so...</strong></p>
  
  <pre><code>&lt;div ng-repeat="value in arr"&gt;
      &lt;p ng-bind="value"&gt;&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>How do I ng-bind every value in the array except the final index <code>"last"</code> value? Like...</strong></p>
  
  <pre><code>&lt;div&gt;
      &lt;p&gt;first&lt;/p&gt;
  &lt;/div&gt;
  &lt;div&gt;
      &lt;p&gt;second&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>