Added a passed value option to closeThisDialog()
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().
Merge pull request #2 from robbaman/closedialog-value

Added support for the close value to the openModal() function as well.
Added default values for the two automatic methods of closing the dialog (pressing escape and clicking the document)
Merge pull request #3 from robbaman/closedialog-value

Added default values for the two automatic methods of closing the dialog.
Distinguish close button and overlay. Update README.
Move the event broadcast to occur at the times they should
The provided controller for the dialog may now be either a string, a function or an array as is custom in AngularJs.
Improved inline controller example
Updated the documentation
Since commit e27e6bc6f157704c66ac9020a54ed6a3b96f9c91 the forceBodyReload is no longer a property of defaults.
Allow set defaults using the provider
Added example of setting global defaults for all dialogs
update readme
rebuild
updates and improvements
rebuild and updates
merge