forked from stakmur/angularjs-FlightDashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFlightDemo.html
48 lines (37 loc) · 1.49 KB
/
FlightDemo.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>AngularJS Promise-Chaining Demo</title>
<link href="./css/demo.css" rel="stylesheet">
<script src="./lib/angular.js" ></script>
<script src="./lib/$QDecorator.js" ></script>
<script src="src/FlightServices.js"></script>
<script src="src/Dashboard_3.js"></script>
<script>
// Start the AngularJS engine for MyFlightApp
angular.module(
"FlightDemo",
[ "FlightServices" ]
)
.controller(
"flightDashboard",
FlightDashboard
);
</script>
</head>
<body ng-app="FlightDemo" ng-controller="flightDashboard" >
<h1>Hello <span class="user">{{ user.email }}</span></h1>
<div class="itinerary">
<p>Here is your itinerary:</p>
<span class="title"> Your Departure: </span> {{ departure.date }} <br/>
<span class="title"> Your Flight: </span> {{ flight.plane.make }} {{ flight.plane.model }} <br/>
<span class="title"> Weather Forecast: </span> {{ weather.forecast }} <br/>
</div>
<footer>
<a href="https://github.com/ThomasBurleson/angularjs-FlightDashboard">
GitHub Source
</a>
</footer>
</body>
</html>