-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
24 lines (23 loc) · 964 Bytes
/
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
<!DOCTYPE html>
<head>
<link rel="stylesheet" type="text/css" href="site.css"/>
</head>
<body ng-app="jsCodingTest">
<div class="header">
<img src="content/citypantry_logo.svg" alt="City Pantry"/>
</div>
<main ng-controller="GiveTheGovernmentABurrito">
<input type="text" ng-model="searchText"/>
<div id="list" class="list">
<ul>
<li ng-repeat="package in foodPackages | filter:{name: searchText}">{{package.name}}</li>
</ul>
</div>
<p class="errored" ng-show="errored">Oops! Something went wrong please try again later</p>
</main>
<script src="lib/angular.min.js"></script>
<script src="lib-integration.js"></script>
<script src="node_modules/citypantry-js-lib/dist/lib-es5-with-browser-polyfill.js"></script>
<script src="your-code.js"></script>
</body>
</html>