title: Iterate through two different arrays in the same ng-repeat
body: <p>I have to iterate through two different arrays containing member details in one array and a approval pending members in another array. I have to display the details in a table. This is the code.</p>
  
  <pre><code>&lt;div class="member-table-body" ng-repeat="member in members "&gt;
   &lt;div class="member-table-content s-no"&gt;1&lt;/div&gt;
   &lt;div class="member-table-content approved"&gt;Approved&lt;/div&gt;
   &lt;div class="member-table-content"&gt;{{member.firstName}}&lt;/div&gt;
   &lt;div class="member-table-content"&gt;{{member.lastName}}&lt;/div&gt;
   &lt;div class="member-table-content email"&gt;{{member.emailId}}&lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div class="member-table-body" ng-repeat="member in pendingRequests"&gt;
   &lt;div class="member-table-content s-no"&gt;1&lt;/div&gt;
   &lt;div class="member-table-content pending"&gt;Pending&lt;/div&gt;
   &lt;div class="member-table-content"&gt;{{member.firstName}}&lt;/div&gt;
   &lt;div class="member-table-content"&gt;{{member.lastName}}&lt;/div&gt;
   &lt;div class="member-table-content email"&gt;{{member.emailId}}&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>How to iterate through both members and pendingRequests within a single ng-repeat. Also the approved must be in the beginning of the table followed by the pending requests details. </p>
  
  <p>Thanks!</p>