-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade es-module-loader, angular test, ensure System is written still
- Loading branch information
1 parent
e8ee8cf
commit 8afdc93
Showing
4 changed files
with
54 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Hello Angular</title> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<style> | ||
body {color:#369;font-family: Arial,Helvetica,sans-serif;} | ||
</style> | ||
|
||
<!-- Polyfills for older browsers --> | ||
<script src="https://unpkg.com/core-js/client/shim.min.js"></script> | ||
|
||
<script src="https://unpkg.com/zone.js@0.7.4?main=browser"></script> | ||
<script src="https://unpkg.com/reflect-metadata@0.1.8"></script> | ||
<script src="../dist/system.src.js"></script> | ||
|
||
<script> window.autoBootstrap = true; </script> | ||
|
||
<script src="https://cdn.rawgit.com/angular/angular.io/b3c65a9/public/docs/_examples/_boilerplate/systemjs.config.web.js"></script> | ||
<script> | ||
System.import('app').catch(function(err){ console.error(err); }); | ||
</script> | ||
</head> | ||
|
||
<body> | ||
<my-app>Loading AppComponent content here ...</my-app> | ||
</body> | ||
|
||
</html> | ||
|
||
|
||
<!-- | ||
Copyright 2016 Google Inc. All Rights Reserved. | ||
Use of this source code is governed by an MIT-style license that | ||
can be found in the LICENSE file at http://angular.io/license | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'my-app', | ||
template: `<h1>Hello {{name}}</h1>` | ||
}) | ||
export class AppComponent { name = 'Angular'; } | ||
|
||
|
||
/* | ||
Copyright 2016 Google Inc. All Rights Reserved. | ||
Use of this source code is governed by an MIT-style license that | ||
can be found in the LICENSE file at http://angular.io/license | ||
*/ |