-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (44 loc) · 1.96 KB
/
index.html
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
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap ( Yeti theme ) -->
<link rel="stylesheet" href="https://bootswatch.com/yeti/bootstrap.min.css">
<!-- AngularJS -->
<script src="js/lib/angular-1.5.7.min.js"></script>
<!-- Angular extended filters -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-filter/0.5.9/angular-filter.min.js"></script>
<!-- App -->
<script src="js/controllers/countriesController.js"></script>
<script src="js/controllers/dateController.js"></script>
<script src="js/services/country.js"></script>
<script src="js/app.js"></script>
</head>
<body ng-app="countriesApp">
<div class="container">
<div ng-controller="countriesController" class="panel panel-default">
<div class="panel-body">
<input type="text" placeholder="search..." class="form-control" ng-model="search" />
<div>
<table class="table">
<thead>
<th>Name</th>
<th>Capital</th>
<th>Description</th>
</thead>
<tbody>
<tr ng-repeat="country in countries | filter:search | orderBy:order | limitTo:limit">
<td> {{ country.name }} </td>
<td> {{ country.capital.name }} </td>
<td> {{ country.description }} </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</body>
</html>