$mdDialog.show(
$mdDialog.alert()
.title('Confirm delete?')
.clickOutsideToClose(true)
.textContent('Hello world')
.ok('Yes')
.targetEvent(ev)
);
And my browser log this error as below. $mdDialog.alert(...).title(...).clickOutsideToClose(...).textContent is not a function
or version 0.11.4,its just content not textContent.