title: AngularJS $locationChangeStart Event Cancelling Route Navigations
body: <p>Can Someone please help me out understand how to use the $locationChangeStart Event? Im making aa function that if a user clicks the browser back button without saving the data on the form in that specific page, a modal popup will show saying that there is unsaved changes and ask the user to save it. I searched for different explanations and I cant understand some of them. I was trying to look for a sample demo but I cant find any. Btw, Im using html and angularjs Thanks in advance</p>