Hi everyone,
I am trying to implement navigation in Ionic 2. I have tried with DeepLinking and i got the result, but ‘#’ sign is comming in URL. When ‘#’ sign will come in URL then Google Analytic will not recognize the website, that’s why i have tried to implement navigation in different ways like Angular 2 Routing, that supports both (HTML5 or hash URL style), but unable to implement in Ionic 2.
Ex- http://localhost:8100/#/registration - This one working fine but i want without ‘#’. Like http://localhost:8100/registration
module.ts code is below
@NgModule({
declarations: […],
imports: [
IonicModule.forRoot(MyApp, {}, {
links: [
{ component: RegistrationComponent, name: ‘Registration’, segment: ‘registration’ },
]
})
],
bootstrap: [IonicApp],
entryComponents: […],
providers: [ …]
})
Thanks for help