Reloading a page in Ionic



I am trying to build a web application and I chose ionic 2 as it would be responsive for all resolutions. But in browser, on reloading the page the application is starting from the first page. Is there a way to stay in same page even after reloading the page?


Please check out Lazy Loading. If your Page has lazy loading you see the route in your browsers url bar.

ionic g page home


To get Ionic to work on page refresh you need to do some expert-level tweaks to the framework. If you’re new, it’s a lot easier to use Ionic to program for devices, where there is no page reload function.