Update SweetAlert.js
Update SweetAlert.js

You should use angular $window service instead of window.
likaiwalkman/ngSweetAlert,crowdcst/ngSweetAlert,hxlniada/ngSweetAlert,LucianoGraziani/ngSweetAlert,thescouser89/ngSweetAlert,xxxkonyi/ngSweetAlert,oitozero/ngSweetAlert,esetnik/ngSweetAlert,Elijax/ngSweetAlert,toubou91/ngSweetAlert