Skip to content

Commit 902f94d

Browse files
committed
minor changes
1 parent 6b172bf commit 902f94d

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

src/app/app.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ <h1>
5454
for details.
5555
</p>
5656
<p>Author: Nils Knappmeier</p>
57+
<p>Source code: <a href="https://github.com/cosee/angular-multiple-elements-example">https://github.com/cosee/angular-multiple-elements-example</a></p>
5758
</section>
5859
</body>
5960
</html>

src/app/components/outside-host-element/outside-host-element.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@ export class OutsideHostElementComponent implements OnInit {
1717
ngOnInit(): void {
1818
this.viewContainerRef.createEmbeddedView(this.template);
1919
}
20-
2120
}

src/app/components/with-host-element/with-host-element.component.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,5 @@ import { Component, OnInit } from '@angular/core';
55
templateUrl: './with-host-element.component.html',
66
styleUrls: ['./with-host-element.component.css']
77
})
8-
export class WithHostElementComponent implements OnInit {
9-
10-
constructor() { }
11-
12-
ngOnInit(): void {
13-
}
14-
8+
export class WithHostElementComponent {
159
}

0 commit comments

Comments
 (0)