i’m using ionic2.rc1
and the deeplinker’s router url has the pages’ title in it
eg:
// in @NgModule file
IonicModule.forRoot(MyApp, {
backButtonText: 'BACK'
}, {
links: [
{ component: HomePage, name: "Home", segment: "home" }
]
}
}
// in home.html file
<ion-header>
<ion-navbar>
<ion-title>this is home</ion-title>
</ion-navbar>
</ion-header>
then in router url,it will show this
http://localhost/#/this%20is%20home/home
it’s so ugly, i want it show this
http://localhost/#/home
just like ionic1
is there something i can do to solve this problem?
thx you all!