-
Notifications
You must be signed in to change notification settings - Fork 55
/
FlightDemo.html
40 lines (31 loc) · 1.17 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>AngularJS Promise-Chaining Demo</title>
<link href="./css/demo.css" rel="stylesheet">
<script src="./lib/$QDecorator.js" ></script>
<script src="./lib/angular.js" ></script>
<!--
Custom application code
-->
<script src="src/FlightServices.js"></script>
<script src="src/Dashboard_4.js"></script>
<script>
// Start the AngularJS engine for MyFlightApp
angular.module(
"MyFlightApp",
[ "FlightServices" ]
)
.controller(
"flightDashboard",
FlightDashboard
);
</script>
</head>
<body ng-app="MyFlightApp" ng-controller="flightDashboard" style="padding-left:20px; padding-top:30px;">
Your Departure: <span class="departure">{{ flight.departure }}</span><br/>
Your Departure: <span class="departure">{{ forecast }}</span><br/>
Flight #: <span class="departure">{{ plane.make.model }}</span><br/>
</body>
</html>