the rim of the bowl , which is the los angeles basin , is lined with small communities where pavement and long backyards dissolve into the foothills of the san gabriel mountains and the angeles national forest .