title: Loading controller await problem with Ionic
body: <p>In my ngOnInit page I call a function to present a Loading and then call my service to load data.
  The problem is that the service call ends before the loading starts.
  How is it possibile with await?</p>
  <pre><code>loading: any;
  ...
  ngOnInit() { 
      this.presentLoading();
      this.myService.get().subscribe((item)=&gt;{
        console.log('dismiss');
        this.loading.dismiss();
      }, ()=&gt;{
        this.loading.dismiss();
      })
    }
  
    async presentLoading() {
      this.loading = await this.loadingController.create({
        message: 'Loading...',
        duration: 20000
      });
      console.log('presentLoading')
      await this.loading.present();
    }
  </code></pre>
  <p>In console i can see:</p>
  <pre><code>dismiss
  ERROR TypeError: Cannot read property 'dismiss' of undefined....
  presentLoading
  </code></pre>
  <p>I’m using Ionic4.</p>