Check out example codes for "ViewController import". It will help you in understanding the concepts better.

Code Example 1

import { Component } from '@angular/core';
import { ViewController } from 'ionic-angular';

@Component({...})
export class MyPage{

  constructor(public viewCtrl: ViewController) {}

}

Learn ReactJs, React Native from akashmittal.com