<table>
<tr ng-repeat="x in names">
<td>{{ x.Name }}</td>
<td>{{ x.Country }}</td>
</tr>
</table> <table class="table table-striped">
<thead><tr>
<th>Edit</th>
<th>First Name</th>
<th>Last Name</th>
</tr></thead>
<tbody><tr ng-repeat="user in users">
<td>
<button class="btn" ng-click="editUser(user.id)">
<span class="glyphicon glyphicon-pencil"></span>&nbsp;&nbsp;Edit
</button>
</td>
<td>{{ user.fName }}</td>
<td>{{ user.lName }}</td>
</tr></tbody>
</table>
<style>

table, th , td {

  border: 1px solid grey;
border-collapse: collapse;
padding: 5px;
}
table tr:nth-child(odd) {
background-color: #f1f1f1;
}
table tr:nth-child(even) {
background-color: #ffffff;
}
</style>

最新文章

  1. Microsoft.Office.Interop.Excel的用法以及利用Microsoft.Office.Interop.Excel将web页面转成PDF
  2. C#中的线程四(System.Threading.Thread)
  3. 用开源Look&amp;Feel (Substance)写 漂亮的Swing应用程序
  4. C++ 拆分字符串-copy()
  5. string为什么可以写入共享内存
  6. 服务器端启动soket多线程
  7. Linux下fork()、vfork()、clone()和exec()的区别
  8. poj 1704 Georgia and Bob(阶梯博弈)
  9. 加密传输SSL协议6_验证公钥
  10. 转:JAVA里面的int类型 和Integer类型,有什么不一样
  11. 记录一个使用HttpClient过程中的一个bug
  12. 2017UGUI之slider
  13. Calico搭建配置
  14. 『TensorFlow』读书笔记_Inception_V3_上
  15. IN_ORDER_PLANNING、IN_BOM_CHANGE
  16. 润乾报表如何使用Echarts
  17. Solr学习之三 solr配置说明之一
  18. 利用sklearn的LabelEncoder对标签进行数字化编码
  19. 更新字典 (Updating a Dictionary,UVa12504)
  20. 设计模式-适配器模式(Adapter Pattern)

热门文章

  1. android打电话、发短信实现
  2. J2EE项目相对路径、绝对路径获取
  3. ASP.NET MVC- KindEditor的使用
  4. 在ASP.NET MVC中使用MySQL【并使用membership】
  5. 读loadBalance技术的一些笔记
  6. GLSL实现HDR Rendering 【转】
  7. 《Java并发编程实战》第三章 对象的共享 读书笔记
  8. 放肆的使用UIBezierPath和CAShapeLayer画各种图形
  9. MVC验证01-基础、远程验证
  10. 终端I/O之获得和设置终端属性