Don't worry, when I first got my dog she hated me, too. She's probably still trying to get used to you, so just be friendly and caring and she'll probably warm up to you soon. Best of luck :)
She might be trying to get used to you because my mom's dog was like that with me. Sometimes if you seem too excited, it sends some kind of overwhelming signal to the dog and the dog gets kind of nervous. Try being calm around her and slowly hold your hand out to let her sniff your hand and speak in a quiet tone. You can also bribe her with treats a bit too. :)