Skip to content

Commit 5038f5c

Browse files
committed
angular 2 compile html service
1 parent e621474 commit 5038f5c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ import {
4646

4747
@ViewChild('container', {read: ViewContainerRef}) container: ViewContainerRef;
4848

49-
data: string = `<div>Done</div><a href="javascript:void(0);" (click)="ref.alert('ok')">If click works it says OK!</a>`;
49+
data: string = `
50+
<div>Done</div>
51+
<a href="javascript:void(0);" (click)="ref.alert('ok')">
52+
If click works it says OK!
53+
</a>`;
5054

5155
ref: Page;
5256

0 commit comments

Comments
 (0)