-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (51 loc) · 2.28 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
<!DOCTYPE html>
<html lang="es" ng-app="routingApp">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AngularJS Routing App</title>
<!-- WEBAPP STYLES -->
<link rel="stylesheet" href="/node_modules/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="/styles/main.css" />
<link rel="stylesheet" href="/styles/media.css" />
</head>
<body>
<!-- WEBAPP NAVBAR -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark" ng-controller="NavController">
<a class="navbar-brand" href="#">{{title}}</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo02" aria-controls="navbarTogglerDemo02" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarTogglerDemo02">
<ul class="navbar-nav mr-auto mt-2 mt-lg-0">
<li class="nav-item">
<a class="nav-link" href="#!home">Home <span class="sr-only"></span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#!countries">Countries <span class="sr-only"></span></a>
</li>
</ul>
</div>
</nav>
<!-- APP.VIEW -->
<div ng-view></div>
<!-- WEBAPP SCRIPTS -->
<script src="/node_modules/jquery/dist/jquery.min.js"></script>
<script src="/node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- //ANGULAR -->
<script src="/node_modules/angular/angular.min.js"></script>
<!-- //ANGULAR.ROUTE -->
<script src="/node_modules/angular-route/angular-route.min.js"></script>
<!-- //ANGULAR.APP -->
<script src="/js/app.js"></script>
<!-- //APP.CONFIG -->
<script src="/js/app.config.js"></script>
<!-- //APP.CONTROLLERS -->
<script src="/js/controllers/nav.controller.js"></script>
<script src="/js/controllers/home.controller.js"></script>
<script src="/js/controllers/countries.controller.js"></script>
<script src="/js/controllers/country.controller.js"></script>
<!-- //APP.SERVICES -->
<script src="/js/services/countries.service.js"></script>
</body>
</html>