The muscle you are refering to is the tibialis anterior. This muscle works opposite the gastrocnemius, or calf muscle. There are some smaller muscles in the lower leg as well, but I will keep it simple.
I have found that the best method for stretching these muscles is by contracting the opposing muscle. This is called Dynamic Stretching.
1. Contract your calf muscle so that your toes are pointing down or away from you. This will stretch the tibialis anterior.
2. Now contract the tibialis anterior so that your toes are pointing up. This will stretch the gastrocnemius.
I recommend this method because these are relatively small muscles and can be easily damaged if overstretched and by using the opposing muscle to stretch, you are also strengthening it.
www.hardcoretrainingsystems.com