How is it possible to load an external js file, from a url in an Angular component? To be specific, I'm trying to load google-maps-api to my angular project. Currently, I'm doing it in my index.html like this: <script async defer src="https://maps.googleapis.com/maps/api/js?key=API_KEY&callback=initMap"> </script> Note: I'm aware of angular-maps. That's not an option. Continue reading...