angular-cn/public/docs/_examples/router/ts/index.1.html

34 lines
950 B
HTML
Raw Normal View History

<!DOCTYPE html>
<script>
2015-12-14 21:19:17 -05:00
var boot = 'app/boot'+'.1'; // choices: '.1', '.2', '.3', ''
</script>
<!-- #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/systemjs/dist/system.src.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': {defaultExtension: 'js'}}
});
// window.boot is for our testing; you should just use 'app/boot'
System.import(window.boot||'app/boot').catch(console.log.bind(console));
</script>
</head>
<body>
<my-app>loading...</my-app>
</body>
</html>
<!-- #enddocregion -->