Cook the spaghetti according to the packaging instructions.
Meanwhile slice the garlic, chop the chilli, rinse the spinach and drain the artichokes.
Heat a spoonful of oil from the artichoke jar (or use olive oil). Gently cook the garlic and chilli (flakes) until the garlic is golden but not too brown.
Add the spinach, stir through. You can add a squeeze of lemon juice or a spoonful of the pasta's cooking water. Add the artichokes, cover the pan and let the spinach steam for a couple of minutes. When it's wilted, turn the heat off, but keep the lid on.
Drain the pasta and toss with the spinach & artichokes mixture. Crumble the cheese over it and toss.
Serve with plenty of freshly ground pepper (and some salt, if needed).