use sweetalert with angular code example Example: sweetalert angular 8 npm install --save sweetalert2