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>
|
2016-02-03 03:35:20 -05:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2016-01-22 05:40:37 -05:00
|
|
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
|
2016-02-27 16:48:24 -05:00
|
|
|
<link rel="stylesheet" href="styles.css">
|
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-02-18 01:20:03 -05:00
|
|
|
<script src="https://npmcdn.com/angular2/es6/dev/src/testing/shims_for_IE.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-02-20 22:17:14 -05:00
|
|
|
<script src="https://code.angularjs.org/2.0.0-beta.7/angular2-polyfills.js"></script>
|
|
|
|
<script src="https://code.angularjs.org/2.0.0-beta.7/Rx.js"></script>
|
|
|
|
<script src="https://code.angularjs.org/2.0.0-beta.7/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>
|