-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (42 loc) · 2.04 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
<!DOCTYPE html>
<html data-ng-app="eatApp">
<head>
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css" rel="stylesheet">
</head>
<body>
<div data-ng-controller='LunchPlaceListCtrl'>
<h1>Where Can I Get Lunch Near <input type="text" data-ng-model="nearLocation" value="{{nearLocation}}" />?</h1>
<div class="well span3">
<div>
Filter: <input type="text" data-ng-model="listFilterText"></input>
</div>
<ul>
<li data-ng-repeat='place in lunchPlaces | filter:listFilterText'>
<place-entry place="place"></place-entry>
</li>
</ul>
</div>
<div class="well well-small span4">
<input type="text" data-ng-model="newPlaceName" />
<button class="btn btn-primary" data-ng-click="addNewPlace()"><i class="icon-plus icon-white"></i> Add </button>
</div>
<div class="span4" last-added-place ></div>
</div>
<!--
Tons of javascript libraries!
http://cdnjs.com/
-->
<script src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.4/underscore-min.js" type="text/javascript"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.1.3/angular.min.js" type="text/javascript"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.1.1/angular-resource.min.js" type="text/javascript"></script>
<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.js" type="text/javascript"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/angular-strap/0.7.1/angular-strap.min.js" type="text/javascript"></script>
<script src="js/keys.js" type="text/javascript"></script>
<script src="js/app.js" type="text/javascript"></script>
<script src="js/controllers.js" type="text/javascript"></script>
<script src="js/directives.js" type="text/javascript"></script>
<script src="js/services.js" type="text/javascript"></script>
<script src="js/filters.js" type="text/javascript"></script>
</body>
</html>