2015-12-14 23:31:40 -05:00
|
|
|
<!-- #docregion -->
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
2016-01-22 05:40:37 -05:00
|
|
|
<title>Angular 2 Tabs</title>
|
|
|
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
|
2015-12-14 23:31:40 -05:00
|
|
|
|
|
|
|
<!-- 1. Load libraries -->
|
2016-01-17 22:59:34 -05:00
|
|
|
<!-- IE required polyfills (from CDN), in this exact order -->
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.33.3/es6-shim.min.js"></script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.16/system-polyfills.js"></script>
|
2016-01-22 05:40:37 -05:00
|
|
|
|
|
|
|
<script src="https://code.angularjs.org/tools/system.js"></script>
|
2015-12-14 23:31:40 -05:00
|
|
|
<script src="https://code.angularjs.org/tools/typescript.js"></script>
|
2016-01-28 21:01:02 -05:00
|
|
|
<script src="https://code.angularjs.org/2.0.0-beta.2/angular2-polyfills.js"></script>
|
|
|
|
<script src="https://code.angularjs.org/2.0.0-beta.2/Rx.js"></script>
|
|
|
|
<script src="https://code.angularjs.org/2.0.0-beta.2/angular2.dev.js"></script>
|
2015-12-14 23:31:40 -05:00
|
|
|
|
|
|
|
<!-- 2. Configure SystemJS -->
|
|
|
|
<script>
|
|
|
|
System.config({
|
|
|
|
transpiler: 'typescript',
|
|
|
|
typescriptOptions: { emitDecoratorMetadata: true },
|
2016-01-22 05:40:37 -05:00
|
|
|
packages: {'app': {defaultExtension: 'ts'}}
|
2015-12-14 23:31:40 -05:00
|
|
|
});
|
2016-01-22 05:40:37 -05:00
|
|
|
System.import('app/main')
|
|
|
|
.then(null, console.error.bind(console));
|
2015-12-14 23:31:40 -05:00
|
|
|
</script>
|
|
|
|
|
|
|
|
</head>
|
2016-01-22 05:40:37 -05:00
|
|
|
|
|
|
|
<!-- 3. Display the application -->
|
2015-12-14 23:31:40 -05:00
|
|
|
<body>
|
2016-01-22 05:40:37 -05:00
|
|
|
<di-demo class="container" style="display: block;">Loading...</di-demo>
|
2015-12-14 23:31:40 -05:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|