One Page Beta 11

import {Component,ViewChild} from '@angular/core';
import {Platform, ionicBootstrap, Storage, SqlStorage,Nav,NavController,MenuController} from 'ionic-angular';
import {StatusBar} from 'ionic-native';
import {LoginPage} from './pages/login/login';
import {SearchPage} from './pages/search/search';

  templateUrl: 'build/app.html',
export class MyApp {
  @ViewChild(Nav) nav: Nav;
  rootPage: any;
  pages: any;
  private navCtrl:NavController;
constructor(platform: Platform, menu: MenuController) {

	  // set our app's pages
	  this.pages = [
		  { title: 'Buscar Médicos', component: SearchPage, params: {} },
		  { title: 'Sair', component: LoginPage, params: { logout: true } }
    let storage = new Storage(SqlStorage);

	//Create Database    
	storage.query("Create table if not exists paciente (idpaciente integer, idplano integer)");
	storage.query("select * from paciente").then(
			if(data.res.rows.length > 0){
				this.rootPage = SearchPage;
				this.rootPage = LoginPage;
			this.rootPage = LoginPage;

    platform.ready().then(() => {
      // Okay, so the platform is ready and our plugins are available.
      // Here you can do any higher level native things you might need.

  openPage(page) {
    //let nav ='nav');

ionicBootstrap(MyApp, [],{
	backButtonText: 'Voltar',

TypeScript error: app/app.ts(59,5): Error TS2341: Property ‘rootNav’ is private and only accessible within class ‘NavControllerBase’.

I get this error after I update to beta 11

You should be able to just change it to:


and things should work again.