How to populate a div element with a dynamic html page from server.
I want to implement a preview functionality in which entire page with css and sample content (rendered from server).
I tried property binding innerHtml="myDynamicPage" but it renders css part as text. I also tried string interpolation but populates div with static string of html
Any help will appreciated Thanks in advance.