Slide option in ionic,


I am having problem with the slide option in ionic, i have created an application, when i am on the 2nd page if i slide left-right anywhere on the page it takes me back to the home page. i don’t want this to happened. I want the previous page to be visited only if the user clicks on the back option. Please help. Here is a picture for reference.


set can-swipe-back=false on ion-view html element.


It works. Thank you so much. That helps a lot.