Configurable alerts for angular applications
1 person uses it
Author: 6858821?v=3 nishith29


Alert plugin for angular application


Creats stack of alerts based on calls. It provides one service(configurable) and directive.

Include alert.min.js and alert.min.css in html and declare 'alert-flash' directive within scope of your application. See below for example:

Inject 'alert' module at application level module. Use provider to configure elapsed time for alerts. Default is 5sec. See below for example:

Inject 'alertService' in controller to alert.

To enable animation of flashing alert, include ngAnimate.

comments powered by Disqus
This page was last updated almost 4 years ago.