-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
32 lines (30 loc) · 831 Bytes
/
index.html
File metadata and controls
32 lines (30 loc) · 831 Bytes
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
<!DOCTYPE html>
<html ng-app="gemStore">
<head>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
<style media="screen">
.ng-invalid.ng-dirty{
border-color: #FA787E;
}
.ng-valid.ng-dirty{
border-color: #78FA89;
}
</style>
</head>
<body>
<!-- using alias for controller -->
<div ng-controller="StoreController as controller">
<ul class="list-group">
<li ng-repeat="product in controller.products | orderBy:'-value'" class="list-group-item">
<product-details></product-details>
<img ng-src="{{product.image}}" />
<h3> Panel Details
<panel-details></panel-details>
</h3>
</li>
</ul>
</div>
<script type="text/javascript" src="js/angular.min.js"></script>
<script type="text/javascript" src="js/appJS.js"></script>
</body>
</html>