Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis
Created July 13, 2018 21:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdyrrahitis/c1fb122985aa44aa7c46c671bbb51dbd to your computer and use it in GitHub Desktop.
Save gdyrrahitis/c1fb122985aa44aa7c46c671bbb51dbd to your computer and use it in GitHub Desktop.
<!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