# Navigation in Ionic 2

**URL:** <https://forum.ionicframework.com/t/navigation-in-ionic-2/44180>\
**Category:** ionic-v3\
**Created:** [February 19, 2016, 10:35am UTC](https://forum.ionicframework.com/t/navigation-in-ionic-2/44180 "2016-02-19T10:35:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![amosos1980](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/amosos1980/32/80162_2.png) [@amosos1980](https://forum.ionicframework.com/u/amosos1980)\
**Post date:** [February 19, 2016, 10:35am UTC](https://forum.ionicframework.com/t/navigation-in-ionic-2/44180/1 "2016-02-19T10:35:35Z")

</div>

Hi,  
i am tring to navigate to another page, and on click the new page pops in bat the first page still exist on the view.  
**MY CODE** :

```auto
import {Page, NavController} from 'ionic/ionic';
import {SignupPage} from '../signup/signup';
/*
  Generated class for the WelcomePage page.

  See http://ionicframework.com/docs/v2/components/#navigation for more info on
  Ionic pages and navigation.
*/
@Page({
  templateUrl: 'build/pages/welcome/welcome.html',
})
export class WelcomePage {
  constructor(nav: NavController) {
    this.nav = nav;
  }
    goToPage(){
        this.nav.push(SignupPage);
    };
}

```

* * *

i get on click tow page content + back button on the same page

---

<div class="post-metadata">

**Author:** ![jamesbyrne](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@jamesbyrne](https://forum.ionicframework.com/u/jamesbyrne)\
**Post date:** [February 19, 2016, 11:02am UTC](https://forum.ionicframework.com/t/navigation-in-ionic-2/44180/2 "2016-02-19T11:02:47Z")

</div>

Have you made sure that all of the imports are correct and are there any errors in the console?

---

<div class="post-metadata">

**Author:** ![amosos1980](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/amosos1980/32/80162_2.png) [@amosos1980](https://forum.ionicframework.com/u/amosos1980)\
**Post date:** [February 19, 2016, 11:18am UTC](https://forum.ionicframework.com/t/navigation-in-ionic-2/44180/3 "2016-02-19T11:18:22Z")

</div>

yes, i get the import correctly:  
from the welcome page:  
**import {SignupPage} from ‘…/signup/signup’;**  
and i get the signup page content on click, the problam is that the view keep welcome page and signup, so i can see both page content on my page  
folder struc’:  
pages  
signup  
signup.js  
welcome  
welcome.js

---

<div class="post-metadata">

**Author:** ![amosos1980](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/amosos1980/32/80162_2.png) [@amosos1980](https://forum.ionicframework.com/u/amosos1980)\
**Post date:** [February 19, 2016, 11:33am UTC](https://forum.ionicframework.com/t/navigation-in-ionic-2/44180/4 "2016-02-19T11:33:13Z")

</div>

strange, in chrome emulating Android, it works 100%, on ios it dosent work at all,  
i tryed playing with config, still nothing:

```auto
config: {
      platforms: {
          mode: 'md',
         ios: {
           pageTransition: 'ios-transition'
         }
          android:{
            pageTransition:'md-transition'
         }
      }
    
  }

```

---

<div class="post-metadata">

**Author:** ![amosos1980](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/amosos1980/32/80162_2.png) [@amosos1980](https://forum.ionicframework.com/u/amosos1980)\
**Post date:** [February 19, 2016, 12:17pm UTC](https://forum.ionicframework.com/t/navigation-in-ionic-2/44180/5 "2016-02-19T12:17:34Z")

</div>

no errors on the console.  
i am working on PC,  
and chrome.  
i can work with android emulateor =\> chrome,  
bat if i chuse to emulate IOS on chrome it looks bad and not so functunal , as the Android

---

<div class="post-metadata">

**Author:** ![amosos1980](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/amosos1980/32/80162_2.png) [@amosos1980](https://forum.ionicframework.com/u/amosos1980)\
**Post date:** [February 19, 2016, 1:27pm UTC](https://forum.ionicframework.com/t/navigation-in-ionic-2/44180/6 "2016-02-19T13:27:52Z")

</div>

fixed!!  
ereaiset it all and recreate the app =\> working 100%
