How to print (based on array index) all array value?
At the moment, it print all the values.
<table>
<thead>
<tr>
<td>Name</td>
<td>Designation</td>
<td>Total Credit Amount</td>
<td>Total Debit Amount</td>
<td>Related Companies</td>
</tr>
</thead>
<tbody>
<tr ng-repeat="data in relTransactions track by $index">
<td>{{data.name}}</td>
<td>{{data.designation}}</td>
<td>{{data.total_credit_amount}}</td>
<td>{{data.total_debit_amount}}</td>
<td>
<button ng-click="openViewMore()">View More</button>
</td>
</tr>
</tbody>
</table>
I try to get array value based on id but i got all array value in that table how i fix that