likeastore/ngDialog — pull request #40 by colinbate (2014-06-29 04:07:01+00:00)
Title: Add return object to open() with ID and close function

While there is ngDialog.latestID (which seems to be undocumented), there didn't seem to be a good way to get the ID of a created dialog when using the service. So I added a simple return object from the `open()` method which contains the ID and a function which will close that particular dialog.