The Canine Aggression FAQs from the RSPCA has some useful general advice about aggressive dogs. If you encounter an aggressive dog while cycling it recommends the following:
If you are cycling, dismount and place the bike between you and the dog. This allows you to slowly wheel it far enough away to remount. Do not try to outpace the dog as this may encourage it to chase you.