import viewcontroller from 'ionic-angular' code example
Example: ViewController import
import { Component } from '@angular/core';
import { ViewController } from 'ionic-angular';
@Component({...})
export class MyPage{
constructor(public viewCtrl: ViewController) {}
}