Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis
Created July 13, 2018 21:25
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/98591131db7d1dc378a881ac41483815 to your computer and use it in GitHub Desktop.
Save gdyrrahitis/98591131db7d1dc378a881ac41483815 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en" ng-app="app">
<head>
<base href="/" />
<title>AngularJS + Typescript + SystemJS</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="/node_modules/bootstrap/dist/css/bootstrap.css" rel="stylesheet">
<!--Module loader-->
<script src="/node_modules/systemjs/dist/system.src.js"></script>
<script src="/systemjs-config.js"></script>
<script>
System.import("json").then(function () {
return System.import("app").catch(function (err) { console.log(err); });
}).then(null, function (err) {
console.error("Oh no, error!", err);
});
</script>
</head>
<body>
<div class="container">
<ng-view></ng-view>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment