Below is the example scenario, if we logging in to training site to see registered user details, if the number of users registered is only one then it has to be directed from login screen to user details page. If there are more than one user than page to should be redirected to user list page.
In ionic 1 we achieved by using angular 1’s resolve during routing. ionic 2 uses its own routing , so how do I achieve this is in ionic 2.
When we use NavController lifecycle events, there is small glitch while rendering, users, will see first page for a millisecond and then second page gets rendered.