I have following array:
Now I want an html table with a row for each item.
I tried following code but don't get it to work:
<template>
<div>
<!-- Title -->
<h3>Latest bigbag details</h3>
<table>
<tr ng-repeat="row in msg.payload track by $index">
<td class="header">Order ID</td><td class="content">{{row.ORDER_NAME}}</td>
</tr>
</table>
</div>
</template>
or
<template>
<div>
<!-- Title -->
<h3>Latest bigbag details</h3>
<table>
<tr ng-repeat="row in msg.payload">
<td class="header">Order ID</td><td class="content">{{row.ORDER_NAME}}</td>
</tr>
</table>
</div>
</template>
In all examples that I find online this should work, what are I'm doing wrong ![]()
Thanks for any help
Best regards
Filip top
