title: How do I show LoadingController for multiple requests in Ionic 2
body: <p>As per the Ionic documentation I could load Ionic LoadingController using this piece of code:</p>
  
  <pre><code>ionViewLoaded() {
    let loader = this.loading.create({
      content: 'Getting latest entries...',
    });
  
    loader.present().then(() =&gt; {
      this.someService.getLatestEntries()
        .subscribe(res =&gt; {
          this.latestEntries = res;
          loader.dismiss();
        });
  
    });
  }
  </code></pre>
  
  <p>This works fine if I am just making 1 ajax request. But I have 5 requests to be made and if I hide / show loading controller like this it leads to flickering of the screens.</p>
  
  <p>Is there a way where I can present the loadingController but then <code>dismiss()</code> only when all of the Ajax requests have been completed?</p>
  
  <p><code>EDIT:</code> Requests do not depend upon one another. They are independent. What I am looking for is a way to get notified when all observable's request is completed. That way I could dismiss the LoadingController when all of them complete.</p>