2015-09-09 17:20:43 -04:00
|
|
|
<!DOCTYPE html>
|
2015-09-15 04:28:29 -04:00
|
|
|
<!-- #docregion -->
|
2015-09-09 17:20:43 -04:00
|
|
|
<html>
|
2015-10-03 15:04:11 -04:00
|
|
|
|
2015-09-09 17:20:43 -04:00
|
|
|
<head>
|
2015-10-16 04:06:56 -04:00
|
|
|
<title>Angular 2 QuickStart</title>
|
2015-12-10 21:29:14 -05:00
|
|
|
|
|
|
|
<!-- 1. Load libraries -->
|
2015-10-03 15:04:11 -04:00
|
|
|
<!-- #docregion libraries -->
|
2015-12-15 06:38:42 -05:00
|
|
|
<script src="node_modules/angular2/bundles/angular2-polyfills.js"></script>
|
2015-12-10 21:29:14 -05:00
|
|
|
<script src="node_modules/systemjs/dist/system.src.js"></script>
|
2015-12-15 06:38:42 -05:00
|
|
|
<script src="node_modules/rxjs/bundles/Rx.js"></script>
|
2015-12-10 21:29:14 -05:00
|
|
|
<script src="node_modules/angular2/bundles/angular2.dev.js"></script>
|
2015-10-03 15:04:11 -04:00
|
|
|
<!-- #enddocregion libraries -->
|
2015-12-10 21:29:14 -05:00
|
|
|
|
|
|
|
<!-- 2. Configure SystemJS -->
|
2015-10-03 15:04:11 -04:00
|
|
|
<!-- #docregion systemjs -->
|
2015-09-09 17:20:43 -04:00
|
|
|
<script>
|
2015-09-15 04:28:29 -04:00
|
|
|
System.config({
|
|
|
|
packages: {'app': {defaultExtension: 'js'}}
|
|
|
|
});
|
2015-12-10 21:29:14 -05:00
|
|
|
System.import('app/boot');
|
2015-09-09 17:20:43 -04:00
|
|
|
</script>
|
2015-10-03 15:04:11 -04:00
|
|
|
<!-- #enddocregion systemjs -->
|
2015-12-10 21:29:14 -05:00
|
|
|
|
2015-10-03 15:04:11 -04:00
|
|
|
</head>
|
|
|
|
|
2015-12-10 21:29:14 -05:00
|
|
|
<!-- 3. Display the application -->
|
|
|
|
<!-- #docregion my-app -->
|
2015-10-03 15:04:11 -04:00
|
|
|
<body>
|
|
|
|
<my-app>Loading...</my-app>
|
2015-09-09 17:20:43 -04:00
|
|
|
</body>
|
2015-12-10 21:29:14 -05:00
|
|
|
<!-- #enddocregion my-app -->
|
2015-09-15 04:28:29 -04:00
|
|
|
|
2015-12-15 06:38:42 -05:00
|
|
|
</html>
|