# Ng-repeat to go through an array object

**URL:** <https://discourse.nodered.org/t/ng-repeat-to-go-through-an-array-object/99901>\
**Category:** Dashboard\
**Tags:** dashboard-2\
**Created:** [9 December 2025 10:32 UTC](https://discourse.nodered.org/t/ng-repeat-to-go-through-an-array-object/99901 "2025-12-09T10:32:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Filip\_Top](https://avatars.discourse-cdn.com/v4/letter/f/97f17d/32.png) [@Filip\_Top](https://discourse.nodered.org/u/Filip_Top)\
**Post date:** [9 December 2025 10:32 UTC](https://discourse.nodered.org/t/ng-repeat-to-go-through-an-array-object/99901/1 "2025-12-09T10:32:20Z")

</div>

I have following array:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/2/3220037298cd8e290383f09b1fbd572b027f7bf5.png)

Now I want an html table with a row for each item.  
I tried following code but don't get it to work:

```auto
<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

```auto
<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

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [9 December 2025 11:42 UTC](https://discourse.nodered.org/t/ng-repeat-to-go-through-an-array-object/99901/2 "2025-12-09T11:42:44Z")

</div>

> [@Filip\_Top](#):
>
> In all examples that I find online this should work, what are I'm doing wrong

`ng-` is **Angular** (i.e. Old Dashboard)  
Dashboard 2 is build upon **Vue**

Vue version of ng-repeat is [v-for](https://www.w3schools.com/vue/vue_v-for.php)

---

<div class="post-metadata">

**Author:** ![Filip\_Top](https://avatars.discourse-cdn.com/v4/letter/f/97f17d/32.png) [@Filip\_Top](https://discourse.nodered.org/u/Filip_Top)\
**Post date:** [9 December 2025 14:16 UTC](https://discourse.nodered.org/t/ng-repeat-to-go-through-an-array-object/99901/3 "2025-12-09T14:16:13Z")

</div>

Should have known that ☹ . I'm just back from a holiday and clearly not completely awake 🙂 . Steve-Mci, thank you very much for the help.

Best regards  
Filip

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [23 December 2025 14:16 UTC](https://discourse.nodered.org/t/ng-repeat-to-go-through-an-array-object/99901/4 "2025-12-23T14:16:16Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
