I am working on a SPA using AngularJS. I want to navigate through application states using links in application and I want to prevent the same navigation when back button is clicked.
All the solutions I found including $locationChangeStart in angularJs prevent navigation when I click links in my app also.
Please provide a solution which prevents only browser back button navigation and allows navigation through clicking link in application.