Meanwhile, preheat oven to 350 degrees F. Cook noodles according to package directions; drain. Rinse with cold water; drain again. In a large saucepan, heat 2 tablespoons of the oil over medium heat. Add artichokes, pine nuts, and half of the garlic. Cook for 8 to 10 minutes or until artichokes are tender, stirring frequently. Transfer to the large bowl. Stir in ricotta cheese, 1/2 cup of the Parmesan cheese, 1/2 cup of the basil, the egg, and salt.