A wildfire raged out of control along the northern edge of Los Angeles early Friday, forcing thousands of people from their homes as firefighters battled flames from the air and on the ground.