I am getting a piece of html code from a http request to an external system , and I should show this on my view in my angular app
to be percise this is the html snippet that I have to show (it will be a bit different by every request and response )
<div
id='paysonContainer'
url='https://test-www.payson.se/embedded/checkout?id=af1ebee5-40bd-410a-90d1-a94401553414'>
</div>
<script
type='text/javascript'
src='https://test-www.payson.se/embedded/Content/payson.js?v2'>
</script>
I used different solution suggestions like innerHtml , but non of them is working for me (maybe because I have some script tag in my html code)
I am getting the html snippet as an string to a component and want to append it to the view (for example to a div in the view)

stringfrom response? then you can simply do like this stackblitz.com/edit/…Iframe?? stackblitz.com/edit/…