how to append html to div in angular code example Example: adding html in typescript this.htmlToAdd = '<div class="two">two</div>';