The tibialis anterior muscle, found in the anterior compartment of the leg, is the primary muscle that facilitates dorsiflexion of the ankle joint. The peroneus longus and Peroneus Brevis muscles, found in the lateral compartment of the leg, function to facilitate eversion of the ankle joint.