Skip to content

Commit ef596a1

Browse files
committed
fix build issue
1 parent d2af250 commit ef596a1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
// eslint-disable-next-line no-unused-vars
12
import angular from 'angular';
3+
// eslint-disable-next-line no-unused-vars
24
import app from './app/app';
35

46
const component = () => {
7+
// eslint-disable-next-line angular/document-service
58
const element = document.createElement('div');
69

710
element.innerHTML = `
@@ -13,4 +16,9 @@ const component = () => {
1316
return element;
1417
};
1518

19+
angular.element(() => {
20+
angular.bootstrap(document, ['appModule']);
21+
});
22+
23+
// eslint-disable-next-line angular/document-service
1624
document.body.appendChild(component());

0 commit comments

Comments
 (0)