colinbate/ngDialog — pull request #1 by robbaman (2014-07-06 13:10:15+00:00)
Title: Added openModal function to open dialog with a resolving/rejecting promise

Added an openModal() function to the ngDialog service that opens a dialog and returns a promise that is resolved when the dialog is closed with the (new) scope function confirm() or rejected when the dialog is closed using any other means. Also updated the docs to include this new function.