What you describes sounds like it could be anterior ankle impingement. If with icing, resting and anti-inflammatory meds it doesn't improve any, it would be a good idea to see your doctor or visit an orthopedist who specializes in the foot. They can do x-rays to make sure there are no bone spurs involved. If not, they can give you a steroid shot which can help alleviate the pain and swelling of the ligaments involved.
Here is a little about anterior ankle impingement:
Pinching of tissues in the front of the ankle is called anterior impingement. Athletes who have had several mild ankle sprains or one severe sprain are most likely to have anterior impingement. This is especially true for athletes who repeatedly bend the ankle upward (dorsiflexion), such as baseball catchers, basketball and football players, and dancers. Over time, irritation along the front edge of the ankle can lead to impingement.
Irritation in the lower edge of the AITFL and the front of the ATFL can thicken these ligaments. The irritated ligaments become vulnerable to getting pinched between the tibia and talus as the foot is dorsiflexed. These ligaments may also begin to rub on the joint capsule of the ankle. This can inflame the synovial lining of the capsule, a condition called synovitis.
A similar problem can happen after an ankle sprain. As the torn or ruptured ligament heals, the body responds by forming too much scar tissue along the front and side of the ankle joint. This creates a small mass of tissue called a meniscoid lesion. Dorsiflexing the ankle can trap the tissue between the edge of the ankle joint, causing pain, popping, and a feeling that the ankle will give out and not support your body weight.
Over time, damage from past ankle sprains may also lead to the formation of small projections of bone called bone spurs. Bone spurs can form along the bottom ledge of the tibia bone or on the upper surface of the talus. As the ankle hinges into dorsiflexion, the bone spurs may begin to jab into the soft tissues along the front edge of the ankle joint, causing symptoms of anterior impingement.
"I know God will not give me anything I can't handle. I just wish that He didn't trust me so much." ~ Mother Theresa
Change is the essence of life. Be willing to surrender what you are for what you could become. ~ Anon