aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'client/index.html')
-rw-r--r--client/index.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/client/index.html b/client/index.html
new file mode 100644
index 000000000..15ccedb74
--- /dev/null
+++ b/client/index.html
@@ -0,0 +1,40 @@
1<html>
2 <head>
3 <title>Angular 2 QuickStart</title>
4 <meta name="viewport" content="width=device-width, initial-scale=1">
5 <link rel="stylesheet" href="styles.css">
6
7 <!-- 1. Load libraries -->
8 <!-- IE required polyfills, in this exact order -->
9 <script src="node_modules/es6-shim/es6-shim.min.js"></script>
10 <script src="node_modules/systemjs/dist/system-polyfills.js"></script>
11 <script src="node_modules/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
12
13 <script src="node_modules/angular2/bundles/angular2-polyfills.js"></script>
14 <script src="node_modules/systemjs/dist/system.src.js"></script>
15 <script src="node_modules/rxjs/bundles/Rx.js"></script>
16 <script src="node_modules/angular2/bundles/angular2.dev.js"></script>
17 <script src="node_modules/angular2/bundles/router.dev.js"></script>
18
19 <!-- 2. Configure SystemJS -->
20 <script>
21 System.config({
22 packages: {
23 app: {
24 format: 'register',
25 defaultExtension: 'js'
26 }
27 }
28 });
29 System.import('app/main')
30 .then(null, console.error.bind(console));
31 </script>
32
33 <base href="/">
34 </head>
35
36 <!-- 3. Display the application -->
37 <body>
38 <my-app>Loading...</my-app>
39 </body>
40</html>