AlertBox service for AngularJS