Angular 2 – innerHTML styling
I am getting chunks of HTML codes from HTTP calls. I put the HTML blocks in a variable and insert it on my page with [innerHTML] but I can not style the inserted HTML block. Does anyone have any suggestion how I might achieve this? @Component({ selector: ‘calendar’, template: ‘<div [innerHTML]=”calendar”></div>’, providers: [HomeService], styles: [`h3 … Read more