title: Ionic 4 - add external vanilla JS library into my project
body: <p>I am trying to import this JS library into my Ionic 4 project: '<a href="https://secure.mlstatic.com/sdk/javascript/v1/mercadopago.js" rel="nofollow noreferrer">https://secure.mlstatic.com/sdk/javascript/v1/mercadopago.js</a>' to use it in my angular componets. I've been looking all over the web without solution. </p>
  
  <p>I tried to import into my angular.json file but is not working.</p>
  
  <pre><code>"scripts": ["https://secure.mlstatic.com/sdk/javascript/v1/mercadopago.js"]
  </code></pre>
  
  <p>Also I tried to import directly from my index.html but it seems is not able to read it.</p>
  
  <p>Docs <a href="https://www.mercadopago.com.ar/developers/es/guides/payments/api/receiving-payment-by-card/" rel="nofollow noreferrer">link</a></p>