Load external javascript libraries/files (e.g. Google Maps JavaScript API, Stripe JavaScript API, ...) in your components and services on the fly (when you need them) and execute code as soon as it's loaded.
npm install @ueler/ng-lazyload-script
npm i --save @ueler/ng-lazyload-script
``