
The Ampere force on $AB$ acts into the paper.
The torque on the loop will be clockwise, as seen from above.
The loop must rotate through an angle $({90^o} + \theta )$ before the plane of the loop becomes normal to the direction of the direction of $B$ and the torque becomes zero.


