in any joint should be exercised primarily through stretching or "range of motion" exercises.
For the ankle, i encourage patients to improve their range of motion by dorsi-flexing (toes towards you) and plantar-flexing (toes pointing away from you.) additionally, making clockwise and counter-clockwise circles with your toes also helps. Remember, "motion is lotion." always keep moving!