Ionic side menu issue

I am using ion-side-menu, which is in my common template and is used in mutliple views. I am having a strange problem

Consider, my menu

Menu 1
Menu 2
Menu 3
Menu 4

If I click on Menu 2 and then Menu 3 and then Menu 4, everything works fine but if I am clicking randomly then url is getting changed but content of the page is not changed