I'm new to Angular 2 and I'm trying to get a Tripadvisor widget working on my page. The widget works great in plain html but as soon as I include it in my component in angular it shows the image for the widget but the javasript does not execute so you don't see the content.
widget code I'm using:
<div id="TA_cdsscrollingravenarrow993" class="TA_cdsscrollingravenarrow"><ul id="QAlUXL" class="TA_links ZECPTIZB"><li id="esd1SQAAb" class="VkzA66nOe"><a target="_blank" href="https://www.tripadvisor.com/"><img src="https://static.tacdn.com/img2/t4b/Stacked_TA_logo.png" alt="TripAdvisor" class="widEXCIMG" id="CDSWIDEXCLOGO"/></a></li></ul></div><script src="https://www.tripadvisor.com/WidgetEmbed-cdsscrollingravenarrow?amp;locationId=1529483&border=true&uniq=993&lang=en_US&display_version=2"></script>
I did try the example from Including tripadvisor widget in angularjs app - here is the code that I tried from that answer:
<div id="TA_cdsscrollingravenarrow993" class="TA_cdsscrollingravenarrow"><ul id="QAlUXL" class="TA_links ZECPTIZB"><li id="esd1SQAAb" class="VkzA66nOe"><a target="_blank" href="https://www.tripadvisor.com/">
But this sadly doesn't fix my problem, I get the same results, you can see the widget in the upper right corner of this page: