title: Combining two ng-repeats in a table
body: <p>I want do use two different ng-repeat loops in a table to kind of group different obejcts with each other but don't know really how to do it.</p>
  
  <p>My code right now:</p>
  
  <pre><code>...
  &lt;tbody&gt;
      &lt;tr ng-repeat="person1 in Array1"&gt;
          &lt;td&gt;{{ person1.address }}&lt;/td&gt;
          &lt;td&gt;{{ person1.city}}&lt;/td&gt;
          &lt;td&gt;{{ person1.email}}&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr ng-repeat="person2 in Array2"&gt;
          &lt;td&gt;{{partner2.address }}&lt;/td&gt;
          &lt;td&gt;{{partner2.city}}&lt;/td&gt;
          &lt;td&gt;{{partner2.email}}&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/tbody&gt;
  ...
  </code></pre>
  
  <p>The result/table i'm aiming for:</p>
  
  <pre><code>person1[1].address   |    person1[1].city    | person1[1].email
  ---------------------------------------------------------------
  person2[1].address   |    person2[1].city    | person2[1].email
  ---------------------------------------------------------------
  person1[2].address   |    person1[2].city    | person1[2].email
  ---------------------------------------------------------------
  person2[2].address   |    person2[2].city    | person2[2].email
  ---------------------------------------------------------------
  </code></pre>
  
  <p>That is, i'd like to the ng-repeat to out put person1[1] and person2[1] before putting out person1[2].</p>
  
  <p>Is the solution to add an outer array, containing my two current arrays or are there any better solution?</p>
  
  <p>best regards</p>