title: Runtime Error Uncaught (in promise): removeView was not found
body: <p>I am calling two api call in single page. but if i use one api call its working fine. But if i use two api call in same page. I'm getting below error at Runtime.</p>
  
  <blockquote>
    <p>Error Uncaught (in promise): removeView was not found`.</p>
  </blockquote>
  
  <p>And i have one doubt too. Where ever i go to any screens. If i want to come back to my home screen. I need to show the Api called Data to display always. So should i need to call my Api call method inside constructor or <code>ionViewDidEnter</code>. i did in <code>ionViewDidEnter</code> i don't things show this may be the causes for my error.</p>
  
  <p><strong><em>Here is my code :</em></strong></p>
  
  <pre><code>import { Component, ViewChild } from '@angular/core';
  import { AlertController, App, FabContainer, ItemSliding, List, ModalController, NavController, ToastController, LoadingController, Refresher } from 'ionic-angular';
  import { CategoryDetailPage } from '../categorydetail/categorydetail';
  import { ConferenceData } from '../../providers/conference-data';
  import { UserData } from '../../providers/user-data';
  import { SessionDetailPage } from '../session-detail/session-detail';
  import { ScheduleFilterPage } from '../schedule-filter/schedule-filter';
  import {Http, Headers } from '@angular/http';
  import 'rxjs/add/operator/map';
  import { AuthService } from '../../providers/AuthService';
  
  @Component({
    selector: 'page-speaker-list',
    templateUrl: 'speaker-list.html'
  })
  
  export class SpeakerListPage {
     loading: any;
     data: any;
     Catdata: any;
     Catdatanames: any;
     resdata: any;
     resCatdata: any;
     resCatdatanames: any;
     loginData: {username?: string} = {};
     resloginData: {username?: string} = {};
  
    constructor(
      public alertCtrl: AlertController,
      public app: App,
      public loadingCtrl: LoadingController,
      public modalCtrl: ModalController,
      public navCtrl: NavController,
      public toastCtrl: ToastController,
      public confData: ConferenceData,
      public user: UserData,
      public http:Http,
      public authService: AuthService) { }
  
    ionViewDidEnter() {
     this.show();
     this.another();
    }
  
    show() {
      this.showLoader();
        this.authService.subs(this.loginData).then((result) =&gt; {
        this.loading.dismiss();
        this.data = result;
  
         if(this.data.status == 1)
         {
             this.Catdata = this.data.SubjectList;
             for(let i=0; i&lt;this.Catdata.length; i++) {
                 console.log(this.Catdata[i].SubjectName);
             }
         }
         else if(this.data.status == 0) {
            let alert = this.alertCtrl.create({
                title: 'Error',
                subTitle: 'Please Enter Valid Username &amp; Password',
                buttons: ['OK']
            });
            alert.present();
         }
      }, (err) =&gt; {
        this.loading.dismiss();
      });
  }
  
  another() {
    this.showLoader();
      this.authService.allresources(this.resloginData).then((result) =&gt; {
        this.loading.dismiss();
        this.resdata = result;
  
        if(this.resdata.status == 1)
        {
             this.resCatdata = this.resdata.SubjectList;
             for(let i=0; i&lt;this.resCatdata.length; i++) {
                 console.log(this.resCatdata[i].FileName);
             }
        }
        else if(this.resdata.status == 0) {
           let alert = this.alertCtrl.create({
              title: 'Error',
              subTitle: 'Please Enter Valid Username &amp; Password',
              buttons: ['OK']
           });
           alert.present();
         }
      }, (err) =&gt; {
        this.loading.dismiss();
      });
  }
  
  showLoader(){
      this.loading = this.loadingCtrl.create({
          content: 'Authenticating...'
      });
      this.loading.present();
    }
  }
  </code></pre>
  
  <p>Please help me out. How can solve my issue?</p>
  
  <p><strong><em>My ionic info</em></strong>:</p>
  
  <pre><code>Cordova CLI: 6.5.0 
  Ionic Framework Version: 3.1.1
  Ionic CLI Version: 2.2.1
  Ionic App Lib Version: 2.2.0
  Ionic App Scripts Version: 1.3.5
  ios-deploy version: 1.9.0 
  ios-sim version: 5.0.13 
  OS: macOS Sierra
  Node Version: v7.3.0
  Xcode version: Xcode 8.3.2 Build version 8E2002
  </code></pre>
  
  <p>Help will be much useful.Thanks</p>