A.P.
First of all, she probably really enjoys having the teacher's praise her so much and therefore continues that behavior at school because she doesn't want to let them down and wants to continue to have that praise. Make sure that you also praise her when she does things well at home, catch her being good, brag to friends and neighbors and grandparents (where she can hear you) about her good qualities that that will help! Second, continue to be firm with her regarding what your expectations are for your family and her role in it. When she realizes you mean business (plus that you're on her side), then she'll come around.