Failed to load js in ionic

I am trying to load comment section in ionic v1 app using below script

<script async src="<my-spot-id>"></script><div data-spotim-module="recirculation" data-spot-id="<my-spot-id>"></div><script async data-spotim-module="spotim-launcher" src="<my-spot-id>" data-post-id="<my-post-id>"></script>

but not working in ionic but i tried in cordova that is working fine. Might some issue with angularJS.

I am getting error in ionic


Probably some whitelist or permission thing. Check what you can do there to change it. Compare the config.xml of your Cordova projects with the Ionic project`s one.

1 Like