Fixing the errors for the angular app