How to display Twitter timeline in Ionic app?

THE SITUATION:

I need to display a Twitter timeline in my Ionic app. Just that. No further action is needed (login, retweet etc..)

I have done a test in a simple angular web app and is working fine. But inside the Ionic app is not working as expected. In the browser (for test purpose) it appears only after i refresh the page. In the actual phone (testing the apk file) it doesn't appear at all.

Why there is this strange behavior? Is ionic related?

THE CODE:

In index.html:

<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> 

In the view:

<a class="twitter-timeline" href="https://twitter.com/MY_TWITTER" data-widget-id="TWITTER_WIDGET_ID">Tweets by @MY_TWITTER</a>

THE QUESTION:

How can i display a twitter timeline inside a Ionic app?

Thank you!