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