2
0
Fork 0
es5-ff-spa-loader/example/app_server/www_views/index.ejs
2016-03-16 22:53:58 +01:00

22 lines
789 B
Plaintext

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<title>Loading</title>
<link id="ffCleanupCss" rel="stylesheet" type="text/css" href="/static/spa-loader.css" />
</head>
<body>
<script id="ffCleanupScript"><%- inlineScript %></script>
<script id="ffCleanupConfig">
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';
FFSpaLoader.options.server.header.response['X-My-Api'] = 'noknok';
FFSpaLoader.start();
</script>
</body>
</html>