I am using embedding twitter feed widget by twitter which simply requires to use a script tag
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
and the html tag like on the page. This works fine. However, for my case the url comes from server side. This does not work for me as it seems that by the time html tag renders the url value is not available from server side.
and when it's available the twitter widget does not refresh to take the new url.
the a tag looks like below
<a class="twitter-timeline" [href]="core.twitterFeed">Twitter Feed</a>
how to make it work by waiting for this to fire? I have tried doing something like below but that does not work
<mat-card-content *ngIf="core.twitterFeed != undefined">
<a class="twitter-timeline" [href]="core.twitterFeed">Twitter Feed</a>
</mat-card-content>