-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
28 lines (28 loc) · 1.02 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
<!doctype html>
<html ng-app="ecom">
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.css">
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/app.js" type="text/javascript"></script>
</head>
<body>
<div class="container" ng-controller="storeController as store">
<div class="col-lg-12 text-center" ng-repeat="product in store.products">
<h2>Online Store</h2>
<div class="col-md-6">
<h4>{{product.name}}</h4>
<h4>{{product.description}}</h4>
</div>
<div class="col-md-6">
<h4>{{product.price}}</h4>
<button class="btn btn-primary" ng-show="product.addPurchase">Buy Now</button>
</div>
</div>
</div>
</body>
</html>