Confirm dialog using angular

do it