An alerts module for AngularJS applications