Elementref Angular
// in template
//<div #myEl></div>
@ViewChild("myEl") el: ElementRef;
ngAfterViewInit(){
this.el.nativeElement.innerHTML = "Hi";
console.log(this.el);
}
Tommy