首页
极刻
圈子
教程
开源
极客社区
写文章
发极刻
建圈子
发项目
登录 / 注册
返回教程:AngularJS 教程
TRY RUN / 在线示例
AngularJS 教程 尝试一下
AngularJS 教程 尝试一下
源代码
运行
<h3>用户</h3> <table class="table table-striped"> <thead><tr> <th>编辑</th> <th>名</th> <th>姓</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> Edit </button> </td> <td>{{ user.fName }}</td> <td>{{ user.lName }}</td> </tr></tbody> </table>
运行结果