Violence at a garment factory in Bangladesh has left 50 people injured, it has been reported.