2
0
Fork 0
es5-ff-spa-loader/example/app_server/www_views/index.ejs

24 lines
933 B
Plaintext
Raw Normal View History

2015-12-23 00:16:54 +00:00
<!DOCTYPE html>
2016-01-14 21:42:13 +00:00
<html lang="en">
2015-12-23 00:16:54 +00:00
<head>
<meta charset="UTF-8"/>
2016-01-24 20:38:21 +00:00
<title>Loading</title>
<script id="ffCleanupScript" type="text/javascript"><%- inlineScript %></script>
<style id="ffCleanupStyle" type="text/css"><%- inlineStyle %></style>
2015-12-23 00:16:54 +00:00
</head>
2016-01-24 20:38:21 +00:00
<body>
<script id="ffCleanupConfig" type="text/javascript">
FFSpaLoader.options.boot.debug.enable = true;
FFSpaLoader.options.boot.angular.modules.push('exampleUI');
FFSpaLoader.options.boot.cleanup.tags.push('ffCleanupStyle');
FFSpaLoader.options.boot.cleanup.tags.push('ffCleanupScript');
FFSpaLoader.options.boot.cleanup.tags.push('ffCleanupConfig');
FFSpaLoader.options.server.url = window.location.href;
FFSpaLoader.options.server.assets = '/static/spa-client-resources';
FFSpaLoader.options.server.depath = 'example-ui';
2016-02-26 23:24:43 +00:00
FFSpaLoader.options.server.header.response['X-My-Api'] = 'noknok';
FFSpaLoader.start();
2015-12-23 00:16:54 +00:00
</script>
</body>
</html>