Firing events from dynamically added html
问题 i have to load Html data from server like i have 'click' but when i assign this data to innerHtml property in angular2 it shows html but click even is not working . is there any solution for this problem. there are some suggestions to use dynamic Components but i don't find any good tutorial for final angular2 release. import { Component, ViewChild, ElementRef, OnInit, Directive } from '@angular/core'; import { HttpComponent} from './http.component'; import {DomSanitizer, SafeHtml} from '