Your daughter is very smart. many people don't realize how smart kids are at this age. they think, "they're just babies". Oh no, she's very smart, and she's playing with your emotions. as the others said, she is not treating you mean, she is testing you. she will play off your emotions. you need to handle her matter of factly, and speak to her firmly and confidently. think before you say no, or give her and order, and then be consistent and follow through. every time. do not get upset when she is naughty. when she acts this way, put her in the naughty chair, or corner, or whatever you decide, and stay calm. do not talk to her if she is yelling or having a tantrum. go back a few minutes later, and have her tell you (if she can) what she did wrong, or you repeat it, then have her apologize (if she can - if not, teach her a sign for this). make sure dad follows through too. if she doesn't want you to do something for / with her, don't let him give in and do it.
most importantly, please stop taking her (unfortunately) normal toddler behavior personally. this will just set you up for problems in the future. if you keep thinking that it is personal, you will just end up giving in to make yourself feel better, which will not teach your daughter appropriate behavior.