I am learning Angular now and got stuck here. What I have tried is:
<tr ng-show="data in myData17.layouts | limitTo:2 | slice:1">
<td>{{data.name}}</td>
<td>{{data.cards[1].cardNo}}</td>
<td>{{data.cards[1].cardType}}</td>
<td>{{data.cards[1].ports[0].portNo}}</td>
<td>{{data.cards[1].ports[0].portName}}</td>
<td>{{data.cards[1].ports[0].portType}}</td>
<td>{{data.cards[1].ports[0].portspeed}}</td>
<td>{{data.cards[1].ports[0]["ds-scheduler-node-profile"]}}</td>
</tr>
where layouts is an array that has up to 10 elements in it but I want to access the data that is in index=1.
ng-showdoesn't have that syntax,ng-repeatdoesng-repeat. There is no reason to loop through the entire array