Changing the subTitle
directly through the configuration option is not possible. The specification states that it only accepts an optional String
value.
{
title: '', // String. The title of the popup.
cssClass: '', // String, The custom CSS class name
subTitle: '', // String (optional). The sub-title of the popup.
}
UPDATE:
To display a success message, you can set a value to a $scope
property within onTap
function.
{
text: '<b>Save</b>',
type: 'button-positive',
onTap: function(e) {
$scope.success = {
message: 'Hello World!'
};
e.preventDefault();
}
}
You can now retrieve and display the success message using $scope.success.message
.