Last active
January 8, 2017 13:03
-
-
Save sionjlewis/7dce0f8990bb27a9625551b79b63cb7c 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 hidden or 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
@{ | |
Layout = "~/Views/Shared/_Layout.cshtml"; | |
} | |
@section title{ | |
MVC Page | |
} | |
<!-- Start Angular Setup --> | |
<!-- 3. Add the "System.import(...)" statement to the View. --> | |
<script> | |
System.import('app').catch(function (err) { | |
console.error(err); | |
}); | |
</script> | |
<!-- End Angular Setup --> | |
<my-app class="app-content"> | |
<div class="app-loading"> | |
App loading... | |
</div> | |
</my-app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment