1

I have a dynamic component, which is working with param (:pagename) its a dynamic page, I have some custom pages those are stored in Admin portal like I have customReport page on admin when I hit the URL with customReport, I call the Rest API on dynamic component and get response from API that contains like

result:[{html:Example,component:'component code here'}];

I want to bind that Html on dynamiccomponent.html and inject customReport.ts to use functions of this component.

Sai Sarath C P
  • 1,454
  • 2
  • 9
  • 26

1 Answers1

1

Did you see this content? Angular Html Binding

<div [innerHTML]="html"></div>
İlker A.
  • 11
  • 5