adds alerts with angularUI