Orientation dependence of confinement-deconfinement phase transition in anisotropic media