Here I will explain how to show confirm dialog box message in AngularJS example using ng-click
directive or show / display JavaScriptdialog
confirm message box with example in AngularJS using ng-click with
example. Generally in JavaScript we will use “window” property to show confirm dialog
box same way in AngularJS we will use “$window” property show confirm dialog message
box.