installing sweet alerts for angular code example Example: sweetalert angular 8 npm install --save sweetalert2