Cook the pasta in salted boiling water according to package directions. Heat the oil in a large pan over medium heat. Add garlic and red pepper flakes to the pan. Cook for 1-2 minutes, stirring constantly. Add can of tomatoes to a bowl. Crush the tomatoes with your hands, squeezing them until crushed, then add them to the pan. Stir and Bring to a simmer. Cook for 8-10 minutes, until the tomatoes have broken down and formed a sauce. Drain the pasta and toss with the tomato sauce and serve.