feat(template): add NavParams to page template

This commit is contained in:
Max Lynch
2016-11-28 12:32:21 -06:00
parent 5526d70c26
commit 85871914dc

View File

@@ -1,5 +1,5 @@
import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
import { NavController, NavParams } from 'ionic-angular';
/*
Generated class for the $CLASSNAME page.
@@ -13,10 +13,10 @@ import { NavController } from 'ionic-angular';
})
export class $CLASSNAMEPage {
constructor(public navCtrl: NavController) {}
constructor(public navCtrl: NavController, public navParams: NavParams) {}
ionViewDidLoad() {
console.log('Hello $CLASSNAMEPage Page');
console.log('ionViewDidLoad $CLASSNAMEPage');
}
}