title: Google Places API: No 'Access-Control-Allow-Origin' header is present on the requested resource
body: <p>I'm trying to make a call from an Angular app but I am getting the following error:</p>
  
  <pre><code>No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access.
  </code></pre>
  
  <p>Here is my code:</p>
  
  <pre><code>constructor(private http: Http) { 
    }
  
  getNearbyRestaurants(lat: number, lng: number){
      return this.http.get(this.API_URL+this.API_KEY+`&amp;location=${lat},${lng}`).pipe(
        map(result =&gt; result)
          );
        }
      }
  </code></pre>
  
  <p>Does anybody know how to resolve this? Thanks</p>