<file_sep>import { Component } from '@angular/core';
import { Platform, LoadingController } from 'ionic-angular';
import { HomePage } from '../pages/home/home';
import { IntroPage } from '../pages/intro/intro';
import { Storage } from '@ionic/storage';

@Component({
  templateUrl: 'app.html'
})
export class MyApp {

  rootPage: any = HomePage;
  loader: any;

  constructor(platform: Platform, public loadingCtrl: LoadingController, public storage: Storage) {

    this.presentLoading();

    platform.ready().then(() => {
      this.storage.get('introShown').then((result) => {
        // if (false) {
        // this.rootPage = HomePage;
        // } else {
        this.rootPage = IntroPage;
        this.storage.set('introShown', true);
        // }

        this.loader.dismiss();
      });
    });
  }

  private presentLoading() {

    this.loader = this.loadingCtrl.create({
      content: 'Authenticating...',
    });

    this.loader.present();
  }
}

<file_sep>import { Component, ViewChild } from '@angular/core';
import { Content } from 'ionic-angular';

/**
 * Generated class for the AccountSelectorComponent component.
 *
 * See https://angular.io/api/core/Component for more info on Angular
 * Components.
 */
@Component({
  selector: 'account-selector',
  templateUrl: 'account-selector.html'
})
export class AccountSelectorComponent {

  items = [
    '200000000012345600',
    '160000000012345600',
    '210000000012345600',
    '180000000012345600',
    '140000000012345600',
  ];
  @ViewChild(Content) content: Content;

  constructor() {
    console.log('Hello AccountSelectorComponent Component');
  }

  private itemSelected(item: string) {
    console.log("Selected Item", item);
  }
}
