import { Component } from '@angular/core'; import { NavController, NavParams } from 'ionic-angular'; /** * Generated class for the ProfilePage page. * * See https://ionicframework.com/docs/components/#navigation for more info on * Ionic pages and navigation. */ @Component({ selector: 'page-profile', templateUrl: 'profile.html', }) export class ProfilePage { private user: any; constructor(public navCtrl: NavController, public navParams: NavParams) { this.user = this.navParams.data.user; } ionViewDidLoad() { console.log('ionViewDidLoad ProfilePage'); } }