I have tried many way but nothing is working. In my case there will be no link of html file. I have to show content in p-dialog box from html file.
static content html file mapped with another html file which is getting used somewhere else.I have to get that file and one parameter will be dynamic in html file content.
I was trying something like this.
<p-dialog [(visible)]="isClicked" [resizable]="true">
<div [innerHTML]="data/SAM3.html"></div>
</p-dialog>
Every time value will be dynamic like SAM3,SAM4 etc.
Anybody can help.
Note -> I am using Angular 5.