I have a form page, that a user will use to insert a certain value on the database.
What I want to do is, detect if the user clicked the back button on the browser and show a modal asking if he wants to continue filling the form or really go back.
Can this be done with AngularJS?