The effect of orientation in the magnetic field on the entanglement of a two-qubit Heisenberg model is in- vestigated. It is found that the maximum entanglement can be obtained by changing direction of the magnetic field with fixed magnitude at given temperature, i.e. driven by orientation of magnetic field. One of the most interesting facts, at zero temperature, is that quantum phase transition(QPT) can be take place through rotating the magnetic fiel...