[
{
“user_idx”: “14”,
“name”: “8”,
“email”: "9@planb.kr",
“phone”: “1234-5678”
},
{
“user_idx”: “12”,
“name”: “7”,
“email”: "7@planb.kr",
“phone”: “1234-5678”
},
{
“user_idx”: “11”,
“name”: “6”,
“email”: "6@planb.kr",
“phone”: “1234-5678”
},
{
“user_idx”: “10”,
“name”: “5”,
“email”: "5@planb.kr",
“phone”: “1234-5678”
},
{
“user_idx”: “9”,
“name”: “4”,
“email”: "4@planb.kr",
“phone”: “1234-5678”
}
]
the data here it is. i want to this data file express html code. but <*ngFor=“let d of list; let i=index”> code can’t express the data. how to make this data structure express to html view? please help me.
You have to decide what you want it to look like. Maybe this section of the Tour of Heroes will give you some ideas.
Thanks to you. I solved it.