While I know that some things can be unexpected and sometimes unexplainable, I swear that I'll never understand adults feeling insulted and offended by small children. My almost 3yo tells me "Mommy, I don't like you," and "Mommy, I love you," in almost the same breath. When he tells me that he doesn't like me, I don't change my expression. I ask him why--or "Are you feeling bad right now? What's the matter?"--to help him figure out for himself what's going on and to teach him to do that for himself later. I might even say, "Well, Mommy just loves you," and let it go.
Your daughter's parents are her home. This is where she feels safe, and this is where she can go through her whole catalog of feelings and express them one by one or all at the same time. Your job is to receive it and teach her how to deal with it. How you respond to her will help determine how she files those feelings away for the future.
Sometimes we can get so caught up in loving on them and oohing and aahing at everything that we lose sight of the fact that every experience is a teachable moment. Everything. Instead of feeling hurt or annoyed--since you or your husband likely has not mistreated her--just assume that she is feeling generally annoyed, and go from there. Assume that "I don't like you" is really "I don't like what you just did/I don't like what you're making me do/I don't like that my favorite toy broke, and you're the one who can hear me complain about it/I don't like that I'm so tired that I don't even know my name, and your taking my shoes off is getting on my nerves."