-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.simple.htm
More file actions
46 lines (41 loc) · 1.47 KB
/
index.simple.htm
File metadata and controls
46 lines (41 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<link href="https://cdn.datatables.net/r/bs-3.3.5/jq-2.1.4,dt-1.10.8/datatables.min.css" rel="stylesheet">
<link href="angularjs-datatables.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.5/angular.min.js" integrity="sha256-zBy1l2WBAh2vPF8rnjFMUXujsfkKjya0Jy5j6yKj0+Q="
crossorigin="anonymous"></script>
<script src="angularjs-datatables.js"></script>
<script src="app.simple.js"></script>
<body ng-app="app" ng-controller="main" ng-cloak>
<table class="table table-striped table-bordered dataTable" ng-rows="names">
<thead>
<tr>
<th>ID</th>
<th ng-sortable>First Name</th>
<th ng-sortable>Last Name</th>
</tr>
</thead>
<tbody>
<tr ng-row>
<td>{{row.id}}</td>
<td>{{row.firstName}}</td>
<td>{{row.lastName}}</td>
</tr>
</tbody>
</table>
<table class="table table-striped table-bordered dataTable" ng-rows="names">
<thead>
<tr>
<th>ID</th>
<th ng-sortable>First Name</th>
<th ng-sortable>Last Name</th>
</tr>
</thead>
<tbody>
<tr ng-row>
<td>{{row.id}}</td>
<td>{{row.firstName}}</td>
<td>{{row.lastName}}</td>
</tr>
</tbody>
</table>
</body>