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 d2af250 commit ef596a1Copy full SHA for ef596a1
src/index.js
@@ -1,7 +1,10 @@
1
+// eslint-disable-next-line no-unused-vars
2
import angular from 'angular';
3
4
import app from './app/app';
5
6
const component = () => {
7
+ // eslint-disable-next-line angular/document-service
8
const element = document.createElement('div');
9
10
element.innerHTML = `
@@ -13,4 +16,9 @@ const component = () => {
13
16
return element;
14
17
};
15
18
19
+angular.element(() => {
20
+ angular.bootstrap(document, ['appModule']);
21
+});
22
+
23
+// eslint-disable-next-line angular/document-service
24
document.body.appendChild(component());
0 commit comments