-
-
Save gdyrrahitis/c1fb122985aa44aa7c46c671bbb51dbd to your computer and use it in GitHub Desktop.
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
<!DOCTYPE> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"></meta> | |
<!-- for ie to work with edge simulation --> | |
<meta | |
http-equiv="X-UA-Compatible" | |
content="IE=edge" | |
></meta> | |
<!-- Fixes viewport zoom on smaller devices --> | |
<meta | |
name="viewport" | |
content="width=device-width, initial-scale=1" | |
></meta> | |
<title>Angular2 From Scratch</title> | |
<link | |
rel="stylesheet" | |
type="text/css" | |
href="css/styles.css" | |
></link> | |
<!-- Dependencies. Required to load --> | |
<script src="node_modules/core-js/client/shim.min.js"></script> | |
<script src="node_modules/zone.js/dist/zone.js"></script> | |
<script src="node_modules/reflect-metadata/Reflect.js"></script> | |
<!-- Module loader --> | |
<script src="node_modules/systemjs/dist/system.src.js"></script> | |
<script src="systemjs-config.js"></script> | |
<script> | |
System.import("app").catch(function(err) { console.log(err); }); | |
</script> | |
</head> | |
<body> | |
<div class="container"> | |
<h1 class="main-title">Welcome to Angular2!</h1> | |
<!-- Using AppComponent's selector. Angular2 is running --> | |
<app-component>Application is loading...</app-component> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment