title: dynamically set googleapi key
body: <p>I have a application wants to embed google map, and it is required that the key is put into a config file. So here is what I do:</p>
  
  <p>In config.js</p>
  
  <p>GOOGLE_MAP_KEY = "mykeyofgoogleapi";</p>
  
  <p>In index.html</p>
  
  <pre><code>&lt;script type="text/javascript" 
          src="https://maps.googleapis.com/maps/api/js?key="+GOOGLE_MAP_KEY+"&amp;sensor=true"&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p>The problem is that I see the GET URL to google is only</p>
  
  <pre><code>Request URL:  https://maps.googleapis.com/maps/api/js?key=
  </code></pre>
  
  <p>the rest of the URL is lost. </p>
  
  <p>Looks I did something bad in concat the URL like this. What is wrong? </p>