Heat olive oil in a large pot as pasta finishes boiling. Add garlic and chili flakes and cook over medium-high heat for one minute. Add the tomatoes and reserved pasta water and bring to boil.
(Note: traditional Italian recipes call for both white wine and reserved pasta water. I substituted the wine with just reserved pasta water.)