We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca99a23 commit 41f1f6fCopy full SHA for 41f1f6f
templates/Angular2Spa/ClientApp/boot-client.ts
@@ -18,4 +18,6 @@ if (hotModuleReplacement) {
18
19
// Boot the application
20
const platform = platformUniversalDynamic();
21
-platform.bootstrapModule(AppModule);
+document.addEventListener('DOMContentLoaded', () => {
22
+ platform.bootstrapModule(AppModule);
23
+});
0 commit comments