Dundee Sheriff Court had heard that before the incident there had been ill-feeling between the females over a boy.
The victim required plastic surgery after the assault and Gaffar has received death threats following publicity of the case, the court was told.
Gaffar, of Tealing, pled guilty to grabbing Miss Strachan by the hair, forcing her to the ground, striking her head off the ground, putting her arm around her throat, restricting her breathing and biting her to her severe injury and permanent disfigurement on February 3.
Sheriff Thomas Hughes said there was “no alternative” to custody.