24 lines
638 B
HTML
24 lines
638 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Routing canActivate Lifecycle Example</title>
|
|
<base href="/">
|
|
|
|
<script src="http://cdnjs.cloudflare.com/ajax/libs/systemjs/0.18.4/system.js"></script>
|
|
<script>System.config({ baseURL: '/', defaultJSExtensions: true});</script>
|
|
<script src="/bundle/angular2.dev.js"></script>
|
|
<script src="/bundle/router.dev.js"></script>
|
|
</head>
|
|
<body>
|
|
<example-app>
|
|
Loading...
|
|
</example-app>
|
|
<script>
|
|
var filename = '@angular/examples/router/ts/can_activate/can_activate_example';
|
|
System.import(filename).then(function(m) {
|
|
m.main();
|
|
}, console.error.bind(console));
|
|
</script>
|
|
</body>
|
|
</html>
|