小编Aks*_*hay的帖子

表格栏上的ng-repeat

所以我有一个List,我从休息服务返回.现在,我希望以列格式显示此对象,现在在第一行中显示.所以它会是这样的:

 firstName:   Bob              Alice
 LastName:    Doe              Joe
 EmailId:     bob@xyz.com      alice@abc.com
 ContactNo:   123123           12444
Run Code Online (Sandbox Code Playgroud)

那么如何在这里使用ng-repeat:

  <tr> 
     <th>firstName:</th>
     <td>('Name should be displayed here')</td>
  </tr>
Run Code Online (Sandbox Code Playgroud)

html angularjs angularjs-ng-repeat

5
推荐指数
1
解决办法
2万
查看次数

标签 统计

angularjs ×1

angularjs-ng-repeat ×1

html ×1