title: Angular 5 Promise returns undefined
body: <p>I'm trying to return a promise after an HTTP Request but I get undefined when I print the return on my component.</p>
  
  <p>service:</p>
  
  <pre><code>getPlace() {
  let promise = new Promise((resolve, reject) =&gt; {
  
    this.http.get('http://localhost:3000/api/place/')
        .toPromise()
        .then(
            res =&gt; { // Success
              this.results = res.results.map(item =&gt; {
                var place = new Place();
                place.place_id = item.place_id;
                place.name=item.name;
                place.vicinity=item.vicinity;
                place.coordinates = new Coordinates();
                place.coordinates.latitude = item.geometry.location.lat;
                place.coordinates.longitude = item.geometry.location.lng;
                return place;
              });
  
              resolve();
              console.log(  this.results);
            },
            msg =&gt; { // Error
              reject(msg);
            }
        );
  });
  return promise;
  }
  </code></pre>
  
  <p>here its my component call:</p>
  
  <pre><code>getPlace(): void{
   this.cityService.getPlace().then( (res) =&gt; {console.log(res);
     });
  }
  </code></pre>