28 lines
956 B
Markdown
Executable File
28 lines
956 B
Markdown
Executable File
# AngularJS wrapper for SweetAlert
|
|
|
|
AngularJS wrapper for [SweetAlert](http://tristanedwards.me/sweetalert). Sweet Alert is a beautiful replacement for Javascript's "Alert".
|
|
|
|
## Demo
|
|
[http://oitozero.github.io/ngSweetAlert/](http://oitozero.github.io/ngSweetAlert/)
|
|
|
|
## Dependencies
|
|
- required:
|
|
[AngularJS](https://github.com/angular/angular)
|
|
[sweetalert](https://github.com/t4t5/sweetalert)
|
|
|
|
## Install
|
|
1. download the files
|
|
1. Bower
|
|
1. add `"angular-sweetalert": "latest"` to your `bower.json` file then run `bower install` OR run `bower install angular-sweetalert`
|
|
2. include the files in your app
|
|
1. `Alert.min.js`
|
|
2. `sweet-alert.js` OR `sweet-alert.min.js`
|
|
3. `sweet-alert.css`
|
|
3. include the module in angular (i.e. in `app.js`) - `oitozero.ngSweetAlert`
|
|
|
|
|
|
## Documentation
|
|
|
|
- [http://oitozero.github.io/ngSweetAlert/](http://oitozero.github.io/ngSweetAlert/)
|
|
- [http://tristanedwards.me/sweetalert](http://tristanedwards.me/sweetalert)
|