title: javascript library not loaded in ionic
body: <p>Im including the google cast external javascript library. When I run with ionic serve it works good, but when I run the app in the phone, the library is not loaded. Debugging can see that :</p>
  
  <p><a href="https://cdn-enterprise.discourse.org/ionicframework/uploads/default/original/3X/a/d/ad4c985f45c1c538bdfbfbb02d10141b6929e1d5.png" rel="nofollow noreferrer">https://cdn-enterprise.discourse.org/ionicframework/uploads/default/original/3X/a/d/ad4c985f45c1c538bdfbfbb02d10141b6929e1d5.png</a></p>
  
  <p>The "http" is replaced by "file"!
  I tried to include the libraries with that code:</p>
  
  <p>script src="//www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1">
  
  <p>and with type="text/javascript" added; but all codes replaces http by file, and the library is not loaded.</p>
  
  <p>Any suggestions?</p>