aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/index.html
blob: f971b9fdba5d26f752051d042f2703494dec889f (plain) (blame)
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
<html>
  <head>
    <title>Angular 2 QuickStart</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="/stylesheets/index.css">

    <!-- 1. Load libraries -->
    <!-- IE required polyfills, in this exact order -->
    <script src="app/node_modules/es6-shim/es6-shim.min.js"></script>
    <script src="app/node_modules/systemjs/dist/system-polyfills.js"></script>
    <script src="app/node_modules/angular2/es6/dev/src/testing/shims_for_IE.js"></script>

    <script src="app/node_modules/angular2/bundles/angular2-polyfills.js"></script>
    <script src="app/node_modules/systemjs/dist/system.src.js"></script>
    <script src="app/node_modules/rxjs/bundles/Rx.js"></script>
    <script src="app/node_modules/angular2/bundles/angular2.dev.js"></script>
    <script src="app/node_modules/angular2/bundles/router.dev.js"></script>

    <!-- 2. Configure SystemJS -->
    <script>
      System.config({
        packages: {
          app: {
            components: {
              format: 'register',
              defaultExtension: 'js'
            }
          }
        }
      });
      System.import('app/components/bootstrap')
            .then(null, console.error.bind(console));
    </script>

    <base href="/">
  </head>

  <!-- 3. Display the application -->
  <body>
    <my-app>Loading...</my-app>
  </body>
</html>