Miranda had no reason to be angry at Daniel.
At the restaurant, it's revealed that Mrs. Doubtfire was indeed Daniel. Miranda being his ex wife, reacted harshly.
But.........Did she really have any reason to get angry and take him to court?
1) He made sure his kids were taken care of.
2) He taught the kids valuable lessons on the importance of priorities and schoolwork. As a result, Chris's grades improved.
3) The house was always clean and dinner was always cooked.
4) Miranda admitted to love having "her" around.
5) The 2 older kids KNEW about "Mrs Doubtfire" but didn't seem to mind and agreed to keep it a secret.
6) He wasn't was a deadbeat dad who tried to kidnap the kids away from her.
Sure, he shouldn't have lied like that, but Mrs. Doubtfire brought out the best in Daniel and everyone noticed it.