My suggestion is its always better to go down to the basics and instead of remembering the cos(theta) form of Biot-Savart law, instead remember its CROSS PRODUCT form, that way u'd always know how to approach.
simply draw the figure check the direction and proceed, its absolutely simple if done...