Spread the broccoli, chickpeas and garlic on a baking sheet and toss with the olive oil. Season with salt and pepper and broil for 8 minutes, stirring halfway through. Remove from the oven and discard the garlic.
Zest the lemon and cut in half.
Return the drained pasta to the pot and toss with half the cooking water. Add the lemon zest, butter and ricotta and toss again, adding more pasta water if needed. Squeeze the lemon over and serve immediately, passing red pepper flakes separately.
Notes
Use any shape pasta that you like (including gluten-free) - we love cavatappi here!
You can substitute the broccoli with broccoli rabe, broccolini or frankly any vegetable that you like - just make sure that you cut the pieces small enough so that they develop nice, charred edges all around.