A teacher in a Bangalore madrasa was recorded on CCTV assaulting girl students, leading to his arrest.