It depends if you try to close it (1) from your own controller or (2) the controller that creates it:
(1) From own controller:
scope.closeThisDialog(value);
see document: https://github.com/likeastore/ngDialog
(2) From the controller that starts it:
var dialog = ngDialog.open();
As mentioned by Satish Salvador in response.
Hurrah!
source
share