It shouldn't be hurting your ankles, so your form is probably a little off. You really want to make sure that you're guiding your knee gently on your way down so that you don't put too much pressure on your ankle too abruptly. If you have ankle pain even when your form is good, it's an early sign that you're putting too much stress on your ACL, and you might injure yourself.