sweetalert2 angular toast code example
Example 1: jquery sweet popup
$.sweetModal.prompt('Can I haz cheezeburger?', 'Can I?', 'Nope', function(val) {
$.sweetModal('You typed: ' + val);
});
Example 2: jquery sweet popup
$.sweetModal({
title: 'HTML Content',
content: 'You can place <b>anything</b> <i>you</i> want in here.'
});