forked from vikingeducation/assignment_viking_spa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (54 loc) · 1.76 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
63
64
65
66
67
68
69
70
71
72
73
74
75
<DOCTYPE! html>
<html ng-app = "storeApp">
<head>
<title>Viking Single Page App</title>
<!-- angular -->
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>
<!-- ui-router plugin -->
<script src="js/angular-ui-router.js"></script>
<!-- faker -->
<script src="js/faker.js"></script>
<!-- bootstrap -->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
</head>
<body>
<nav class="navbar navbar-default">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<a class="navbar-brand" ui-sref="products.index">Viking Store</a>
</div>
<div class="navbar-right">
<a ui-sref='cart' class="btn btn-default btn-lg">
<span class="glyphicon glyphicon-shopping-cart" aria-hidden="true"></span> Your Cart
</a>
</div>
</div><!-- /.container-fluid -->
</nav>
<div class="container">
<div class = "row" ui-view>
</div>
</div>
<p>{{cart}}</p>
<footer class="footer">
<div class="container">
<div class="col-md-12 text-center">
<h5>Contact</h5>
<p>Phone: 123-123-1234</p>
<p>[email protected]</p>
</div>
</div>
</footer>
<!-- angular app -->
<script src="js/app.js"></script>
<!-- services -->
<script src="js/services/productsService.js"></script>
<script src="js/services/cartService.js"></script>
<!-- controllers -->
<script src="js/controllers/StoreCtrl.js"></script>
<script src="js/controllers/ProductCtrl.js"></script>
<!-- directives -->
<script src="js/directives/product.js"></script>
</body>
</html>