Angry parents barged into a school in Bihar's Gaya district, created a ruckus and beat up a teacher who had allegedly slapped their child.