fix angular alerts