AngularJS alerts component