Last active
August 29, 2015 14:13
-
-
Save rolaveric/f1c3841027fa7e1b4374 to your computer and use it in GitHub Desktop.
HTML for loading modules through SystemJS asynchronously
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
<script src="bower_components/html5-boilerplate/js/vendor/modernizr-2.6.2.min.js"></script> | |
<script src="bower_components/traceur/traceur.js"></script> | |
<script src="bower_components/es6-module-loader/dist/es6-module-loader.js"></script> | |
<script src="bower_components/system.js/dist/system.js"></script> | |
<script src="system.config.js"></script> | |
<script> | |
System.import('app').then(function() { | |
angular.bootstrap(document, ['myApp']); | |
}); | |
</script> | |
<title>My AngularJS App</title> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment