Renamed alertService to alert in angular code.