Alerts support for AngularJS