Shred the cabbage, and finely chop the onion and garlic.
Boil the whole wheat pasta in boiling water.
Heat olive oil in a pan and sauté the chopped garlic and onion.
Add the cabbage and stir-fry until softened.
Add the tomato sauce and cook together with the ingredients.
Add the cooked pasta to the pan and mix well with the sauce.
Season with salt and pepper to taste.
Transfer to a plate and serve.