confirm dialog in angular using sweetalert2 code example Example: sweet alert <script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>