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

24 lines
878 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>
<link id="ffCleanupCss" rel="stylesheet" type="text/css" href="/static/spa-loader.css" />
2015-12-23 00:16:54 +00:00
</head>
2016-01-24 20:38:21 +00:00
<body>
<script id="ffCleanupScript"><%- inlineScript %></script>
<script id="ffCleanupConfig">
//FFSpaLoader.options.cache.css = false;
//FFSpaLoader.options.cache.dss = false;
FFSpaLoader.options.debug.enable = true;
FFSpaLoader.options.boot.angular.modules.push('exampleUI');
FFSpaLoader.options.boot.cleanup.tags.push('ffCleanupCss');
FFSpaLoader.options.boot.cleanup.tags.push('ffCleanupScript');
FFSpaLoader.options.boot.cleanup.tags.push('ffCleanupConfig');
FFSpaLoader.options.server.assets = '/static/spa-client-resources';
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>