I want to display a pdf with ng2-pdfjs-viewer`.
When I hard code in my homepage.html something like :
It’s ok, but when the same string comes from a json, it’s not evaluated and nothing shows up.
But if I do the same with an
<img> tag, it’s ok and it is evaluated to an image.
It seems to me that the browser knows what to do with
img and does it, but is not told what to do by angular/ionic with
What can I do ? I think about ComponentFactoryResolver, but not clear to me.