title: How to load Google Places API in a .js file and not within a <script> element?
body: <p>I'm looking at the <a href="https://developers.google.com/maps/documentation/javascript/places" rel="nofollow noreferrer">Google Places API documentation</a>, and they state that I must load the API like this:
  <code>&lt;script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&amp;libraries=places"&gt;&lt;/script&gt;</code></p>
  
  <p>Is there any way to load this API through a Javascript file, rather than exposing my API key in an HTML document?</p>
  
  <p>Thanks.</p>