I\'m a newbie to AngularJs, so this might be trivial. Are there any inbuilt AngularJs directive to detect unsaved data in a form. If not then how to go about wr
directive
Try this directive that works with ui-router
https://github.com/facultymatt/angular-unsavedChanges