add multiple rows in one column using angular ng-repeat

前端 未结 4 1876
逝去的感伤
逝去的感伤 2021-01-06 08:44

I want to generate table contents using json object. I am using ng-repeat to insert multiple rows in a table. But I have to generate table like the following.



        
4条回答
  •  春和景丽
    2021-01-06 09:18

    Donal's answer is good. But I edited to show beautiful table:

    提交回复
    热议问题
    ID Subjects name
    key {{user.id}} S{{ user.subjects[0].id }} {{ user.subjects[0].name }}
    S{{subject.id}} {{subject.name}}