angular-sweetalert
angular-sweetalert copied to clipboard
Wrong module name in documentation
Hi,
In the documentation, when requiring the module it says to use 'ngSweetAlert2' however the module name is actually 'angular-sweetalert'. This is for version 2.0.
^^, ngSweetAlert2 is not a string, but variable from import phase(no quotes around it).

See:
//ES2015
import {ngSweetAlert2} from 'angular-h-sweetalert';
//CommonJS
const {ngSweetAlert2} = require('angular-h-sweetalert');
//Script
var ngSweetAlert2 = window.ngSweetAlert2;
So,
ngSweetAlert2 === 'angular-sweetalert'
My bad :)
This should be left open so other (like me) can find it
Like @acedward said, keep this issue open