I have used the below code for showing a dialog, but I want to change the default style of the dialog.
Here's my code:
$scope.LocationRejectModal = function (msg) {
var PersonName= msg.from.local;
var confirm = $mdDialog.confirm()
.title('Location')
.textContent(PersonName+' has Rejected Location sharing Request.')
.targetEvent(event)
.ok('Ok')
$mdDialog.show(confirm).then(function() {
//some code
}, function() {
//some code
});
};
How can this be done?