-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (48 loc) · 1.61 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
59
60
61
62
<!DOCTYPE html>
<html ng-app="app" lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<base href="/training_ajs/">
<!-- CSS (load bootstrap) -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<style>
.navbar {
border-radius: 0;
}
</style>
<!-- JS (load angular, ui-router, and our custom js file) -->
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular-resource.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-router/0.2.17/angular-ui-router.min.js"></script>
<script src="js/app.js"></script>
<script src="js/controllers.js"></script>
<script src="js/services.js"></script>
<script src="js/directives.js"></script>
</head>
<body>
<!-- NAVIGATION -->
<nav class="navbar navbar-inverse" role="navigation">
<ul class="nav navbar-nav">
<li><a ui-sref="hello1">Hello 1 World</a></li>
<li><a ui-sref="hello2">Hello 2 World</a></li>
<li><a ui-sref="weather">Weather Sofia, BG</a></li>
<li><a ui-sref="weatherRes">Weather London, UK</a></li>
</ul>
</nav>
<!-- MAIN CONTENT -->
<div class="jumbotron text-center">
<div ui-view></div>
<div>
<my-current></my-current>
</div>
<div>
<my-hello></my-hello>
</div>
<div>
Enter language code: <input ng-model="lang.text">
<p>{{'_TEXT_CONSTANT_' | translateLangFilter:lang.text }}</p>
</div>
</div>
</body>
</html>