A one-year-old boy has been taken to hospital after suffering puncture wounds and injuries to his face after a dog allegedly lunged at his pushchair and bit his face.