【发布时间】:2014-10-30 23:17:20
【问题描述】:
所以我有一个从休息服务返回的列表。现在,我想以列格式显示这个对象,现在在第一行。所以它会是这样的:
firstName: Bob Alice
LastName: Doe Joe
EmailId: bob@xyz.com alice@abc.com
ContactNo: 123123 12444
那么我如何在这里使用 ng-repeat:
<tr>
<th>firstName:</th>
<td>('Name should be displayed here')</td>
</tr>
【问题讨论】:
标签: html angularjs angularjs-ng-repeat