Two firefighters were injured when a fire truck crashed into the side of a building while on its way to an emergency in Southern California.