I have designed a small app in angular JS. Where I have various menus on left. I am facing an issue when I click on backspace button. When I click on backspace button it comes to
$rootScope.$on('$routeChangeSuccess',function(){
// here i am checking the user is logged in or not
}
My question is why application changes the route when I click on back space button?
I have configured the routeProvider correctly. So any one can please help me out.