Last active
January 8, 2017 13:01
-
-
Save sionjlewis/3fae4689c3240fee0e249d69ec95ade1 to your computer and use it in GitHub Desktop.
Hello Angular World: code snippet for article (http://www.sjlewis.com). The complete source code and project files can be found here: https://github.com/sionjlewis/Hello.Angular.World
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> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width" /> | |
<title>@ViewBag.Title</title> | |
@Styles.Render("~/Content/css") | |
<!-- Start Angular Setup --> | |
<!-- 1. Load libraries --> | |
<link href="~/node_modules/bootstrap/dist/css/bootstrap.css" rel="stylesheet" /> | |
<link href="~/app/app.component.css" rel="stylesheet" /> | |
<!-- Polyfill(s) for older browsers --> | |
<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> | |
<script src="~/node_modules/systemjs/dist/system.src.js"></script> | |
<!-- 2. Configure SystemJS --> | |
<script src="~/systemjs.config.js"></script> | |
<!-- 3. Add the "System.import(...)" statement to the View. --> | |
<!-- End Angular Setup --> | |
</head> | |
<body> | |
<header> | |
<div class="title"> | |
@RenderSection("title", required: false) | |
</div> | |
</header> | |
<main> | |
@RenderBody() | |
</main> | |
<footer> | |
<p class="footer">© @DateTime.Now.Year <a href="http://www.sjlewis.com" target="_blank" title="Siôn J. Lewis">S J Lewis</a> - Hello Angular World with ASP.NET MVC</p> | |
</footer> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment