systemjs-seed
Version:
seed project for systemjs and angular
49 lines (43 loc) • 1.51 kB
HTML
<html lang="en" data-framework="angularjs">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="viewport" content="width = device-width, minimal-ui, initial-scale = 1, user-scalable = no" />
<meta name="apple-mobile-web-app-title" content="Demo App" />
<title>SystemJS • AngularJS • React</title>
<base href="/" />
</head>
<body ng-cloak>
<noscript>
<div class="deprecation-warning">
<h1>Please enable Javascript</h1>
<p>Demo requires your browser to have Javascript enabled.
<a href="http://enable-javascript.com" target="_blank">Learn more</a></p>
</div>
</noscript>
<ui-view class="content-area"></ui-view>
<script type="text/javascript" src="jspm_packages/system.js"></script>
<script type="text/javascript" src="system.config.js"></script>
<!-- PROD
<script type="text/javascript">
var systemLocate = System.locate;
System.locate = function(load) {
var System = this;
return Promise.resolve(systemLocate.call(this, load)).then(function(address) {
if(address.indexOf('bust') > -1 ||
address.indexOf('css') > -1 ||
address.indexOf('json') > -1) return address;
return address + System.cacheBust;
});
}
System.cacheBust = '?bust={{hash}}';
</script>
END -->
<script type="text/javascript">
System.import('app/app');
</script>
</body>
</html>