I am working on loading a pdf on my angular view using iframe, this pdf data that is generated from the api call i make and the response is the form of base 64 string, i am able to load data via passing this response as static data, but unable to load it via dynamic call
This is how i am doing it and doesnt load the pdf
<div class="pdf-container">
<iframe [src]="'data:application/pdf;base64,' +source"
></iframe>
{{source}}
</div>
What could be the possible issue here