38 lines
1.0 KiB
HTML
38 lines
1.0 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<!-- #docregion -->
|
||
|
<html>
|
||
|
<head>
|
||
|
<!-- #docregion base-href -->
|
||
|
<base href="/">
|
||
|
<!-- #enddocregion base-href -->
|
||
|
<title>Router Sample</title>
|
||
|
<link rel="stylesheet" href="styles.css">
|
||
|
<script src="node_modules/angular2/bundles/angular2-polyfills.js"></script>
|
||
|
<script src="node_modules/systemjs/dist/system.src.js"></script>
|
||
|
<script src="node_modules/rxjs/bundles/Rx.js"></script>
|
||
|
<script src="node_modules/angular2/bundles/angular2.dev.js"></script>
|
||
|
<!-- #docregion router-lib -->
|
||
|
<script src="node_modules/angular2/bundles/router.dev.js"></script>
|
||
|
<!-- #enddocregion router-lib -->
|
||
|
<script>
|
||
|
System.config({
|
||
|
packages: {
|
||
|
app: {
|
||
|
format: 'register',
|
||
|
defaultExtension: 'js'
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
System.import('app/boot.3') // <----- ONLY CHANGE
|
||
|
.then(null, console.error.bind(console));
|
||
|
</script>
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<h1>Milestone 3</h1>
|
||
|
<my-app>loading...</my-app>
|
||
|
</body>
|
||
|
|
||
|
</html>
|
||
|
<!-- #enddocregion -->
|