48 lines
1.4 KiB
HTML
48 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<!-- #docregion -->
|
|
<html>
|
|
<head>
|
|
<title>Angular 2 Http Demo</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<!-- IE required polyfills, in this exact order -->
|
|
<script src="node_modules/es6-shim/es6-shim.min.js"></script>
|
|
<script src="node_modules/systemjs/dist/system-polyfills.js"></script>
|
|
|
|
<script src="node_modules/angular2/bundles/angular2-polyfills.js"></script>
|
|
<script src="node_modules/systemjs/dist/system.src.js"></script>
|
|
<!-- #docregion rxjs -->
|
|
<script src="node_modules/rxjs/bundles/Rx.js"></script>
|
|
<!-- #enddocregion rxjs -->
|
|
<script src="node_modules/angular2/bundles/angular2.dev.js"></script>
|
|
|
|
<!-- #docregion http -->
|
|
<script src="node_modules/angular2/bundles/http.dev.js"></script>
|
|
<!-- #enddocregion http -->
|
|
|
|
<!-- #docregion in-mem-web-api -->
|
|
<script src="node_modules/a2-in-memory-web-api/web-api.js"></script>
|
|
<!-- #enddocregion in-mem-web-api -->
|
|
<script>
|
|
System.config({
|
|
packages: {
|
|
app: {
|
|
format: 'register',
|
|
defaultExtension: 'js'
|
|
}
|
|
}
|
|
});
|
|
System.import('app/main')
|
|
.then(null, console.error.bind(console));
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<my-toh>ToH Loading...</my-toh>
|
|
<my-wiki>Wiki Loading...</my-wiki>
|
|
<my-wiki-smart>WikiSmart Loading...</my-wiki-smart>
|
|
</body>
|
|
|
|
</html>
|