i'm new at nodejs, mongodb, and angular cli. I'm making a project for my college assignment, but I'm having trouble. I want to display the arrray data from mongodb to the existing table in the agular component.
mongdb schema:
{
"_id" : "sensor-2",
"data" : [
{
"sensor" : {
"intensitas" : 1,
"arus" : 0.1
},
"waktu" : "June 9th - 2018, 2:26:47 AM"
},
{
"sensor" : {
"intensitas" : 1,
"arus" : 0.13
},
"waktu" : "June 9th - 2018, 2:32:42 AM"
},
{
"sensor" : {
"intensitas" : 1,
"arus" : 0.13
},
"waktu" : "June 9th - 2018, 2:35:16 AM"
}
]
}
i want to make tabel from "data" array, like this: table image
sorry my engilsh bad