forked from djsmith42/angular2_calendar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (47 loc) · 1.32 KB
/
index.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
49
50
51
52
53
<!doctype html>
<html>
<head>
<title>Angular2 Example</title>
<style>
body {
font-family: arial;
}
</style>
<script src="/node_modules/traceur/bin/traceur.js"></script>
<script src="/node_modules/es6-module-loader/dist/es6-module-loader-sans-promises.js"></script>
<script src="/node_modules/systemjs/dist/system.js"></script>
<script src="/node_modules/zone.js/zone.js"></script>
<script src="/node_modules/zone.js/long-stack-trace-zone.js"></script>
<script>
// atscript without runtime-type assertions.
System.traceurOptions = {
annotations: true,
memberVariables: true,
typeAssertions: false,
types: true
};
System.config({
baseURL: '/',
paths: {
'angular2/*':'/node_modules/angular2/es6/prod/*.es6',
'app/*': 'app/*',
'components/*': 'app/components/*.js',
'decorators/*': 'app/decorators/*.js',
'services/*': 'app/services/*.js',
'stores/*': 'app/stores/*.js'
},
});
System.import('app/app.js')
.then(function(module) {
// uncomment for debugging.
// zone = zone.fork(Zone.longStackTraceZone);
return module.main();
})
.catch(console.error.bind(console));
</script>
</head>
<body>
<h1>Angular2 Example</h1>
<calendar></calendar>
</body>
</html>