-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathng2.html
39 lines (35 loc) · 1.51 KB
/
ng2.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
<!DOCTYPE html>
<html>
<head>
<title>Angular Upgrade Demo - Angular 2</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.css" type="text/css" />
<link rel="stylesheet" href="styles.css" type="text/css" />
<!-- 1. Load libraries -->
<!-- Polyfill(s) for older browsers -->
<script src="node_modules/es6-shim/es6-shim.min.js" type="text/javascript"></script>
<script src="node_modules/zone.js/dist/zone.js" type="text/javascript"></script>
<script src="node_modules/reflect-metadata/Reflect.js" type="text/javascript"></script>
<script src="node_modules/systemjs/dist/system.src.js" type="text/javascript"></script>
<!-- 2. Configure SystemJS -->
<script src="systemjs.config.js" type="text/javascript"></script>
<script>
System.import('ng2app').catch(function(err){ console.error(err); });
</script>
</head>
<!-- 3. Display the application -->
<body class="container">
<nav>
<ul class="list-inline inline separated">
<li><a href="index.html" class="title">Angular Upgrade Demo</a></li>
<li><a href="ng1.html" class="ng1">ng1</a></li>
<li><a href="ng2.html" class="ng2">ng2</a></li>
<li><a href="ng1ng2.html"><i class="ng1"><i class="ng2">ng1 & ng2</i></i></a></li>
</ul>
</nav>
<ng2-app>
<h1 class="text-muted">Loading...</h1>
</ng2-app>
</body>
</html>