Ionic Serve and iOS emulator different simulations

I’m routing my app together and when I use the “Ionic Serve” emulation on my browser it works the way i want it to. When I use the “ionic emulate ios” emulation it doesnt route properly as the one in the browser. Which emulation is correct? and how do I fix this?

Could you post your implementation to a CodePen or Plunker?