mocks with promises for $cordovaDialogs
Merge pull request #342 from neelance/master

mocks with promises for $cordovaDialogs