I have a simple angular 2 component:
@Component({ selector: 'test-text', template: `<p> Text </p>` }) export class TestComponent { constructor() {} getHtmlContent() {return;} //This should return '<p> Text </p>' as a string }
What is the simplest way I can the html content for my Component back?