- {{title}}
-
-
-
-
-
-
-
-
-
-
+
+
+
+ {{title}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
`
})
class FirstPage {
@@ -38,6 +44,11 @@ class FirstPage {
this.title = 'First Page';
this.pushPage = FullPage;
+
+ this.pages = [];
+ for (var i = 1; i <= 50; i++) {
+ this.pages.push(i);
+ }
}
setViews() {
diff --git a/ionic/components/nav/view-controller.ts b/ionic/components/nav/view-controller.ts
index 4fd539c9c2..02470fa1d3 100644
--- a/ionic/components/nav/view-controller.ts
+++ b/ionic/components/nav/view-controller.ts
@@ -15,32 +15,6 @@ export class ViewController {
this._destroys = [];
}
- /**
- * @private
- */
- stage(done) {
- let navCtrl = this.navCtrl;
-
- if (this.instance || !navCtrl || this.shouldDestroy) {
- // already compiled this view
- return done();
- }
-
- // get the pane the NavController wants to use
- // the pane is where all this content will be placed into
- navCtrl.loadPage(this, null, () => {
-
- // this ViewController instance has finished loading
- try {
- this.loaded();
- } catch (e) {
- console.error(e);
- }
-
- done();
- });
- }
-
/**
* TODO
* @returns {boolean} TODO