Preheat oven to 200°C.
Place the chicken legs in a roasting tin, squeeze half of the lemon over them. Season with salt and pepper, sprinkle with the oregano, then drizzle with 1 Tbsp of oil.
Bake for 30 minutes, then scatter the broccoli pieces around the thighs and baste them with the juices of the chicken. Turn over the thighs, and bake for another 10-15 minutes.
When the thighs are golden brown, remove the tin from the oven.
Meanwhile, mix the chilli flakes, the remaining oil, parsley and the remaining lemon juice.
Before serving, pour over the dressing and toss well.