I'm working on an Angular 2 application that is showing news items inside my application. The news items are saved in a database and loaded into the template using Angular's [innerHTML] binding.
A problem occurs when there is embedded content (like a Tweet) inside the news item's content, which requires a javascript file to be loaded (e.g. //platform.twitter.com/widgets.js). The problem is that the browser won't download the file, even after parsing the page.
Does anyone know how to solve this problem? Thanks!