Move the event broadcast to occur at the times they should
Merge remote-tracking branch 'source/master' into modal

Conflicts:
	js/ngDialog.js
	js/ngDialog.min.js
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
Merge remote-tracking branch 'likeastore/master' into allow-controller-formats
Allow set defaults using the provider
Added example of setting global defaults for all dialogs
update readme
rebuild
updates and improvements
merge
rebuild