Skip to content

ALTxVentures/ngSweetAlert2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AngularJS wrapper for SweetAlert

AngularJS wrapper for SweetAlert. Sweet Alert is a beautiful replacement for Javascript's "Alert".

Demo

Original ngSweetAlert (using SweetAlert v1) http://oitozero.github.io/ngSweetAlert/

SweetAlert v2 https://limonte.github.io/sweetalert2/

Dependencies

Install

  1. download the files
    1. Bower
      1. add "angular-sweetalert-2": "latest" to your bower.json file then run bower install OR run bower install angular-sweetalert2
  2. include the files in your app
    1. SweetAlert.min.js
    2. sweetalert2.min.js
    3. sweetalert2.css
  3. include the module in angular (i.e. in app.js) - 19degrees.ngSweetAlert2

Documentation