Deleting/Resetting form data


#1

This is my codepen, When you submit a field ticket the first time it functions correctly but when you use the back button to return it still has the input data and if you re-submit the page is empty. How would I reset the data every time you submit?


#2

i am guessing because I think I need more clarity around how to actually see the issue, but I would recommend not using sref="eventmenu.appointments" but an ng-click to call a function in the controller to take action, like clear the contents, before moving on to the next state