How to create unsave change in angularjs using ngdialog.
Eg: currently we are in page1 some fields we are edited. directly we going to page2 or somewhere that time ngdialog need to popup and ask if your move data will be lost. do you want to continue? with options: save&move, cancel and discard&move. if i choose cancel stay same page. if i choose discard&move discard the details what we enter. if i choose save&move save the details and move to corresponding page anyone help me this..