Changed the initialization so that the ngDialogData is bound to the scop...

Changed the initialization so that the ngDialogData is bound to the scope before the controller is instantiated.  This way the controller has access to the data in the scope when it's created.  I generally don't do inline controllers, but keep them in separate files.