colinbate/ngDialog — pull request #2 by robbaman (2014-08-06 20:17:26+00:00)
Title: Added support for the close value to the openModal() function as well.

Added support for the close value to the openModal() function as well. The value used for the closeThisDialog(value) call is used as the reject reason of the promised returned by openModal().