You don't get angry with children. You teach them to behave they way you think is right.
Anger is a learned response. You had to learn when to be angry and how to act in each case. Well, you can learn to act some other way. First you need to realize that children are not your enemies, they are merely untrained.
Example: You don't scold a kid because he can't read, you sit him on your lap and read to him. In time he will start to read to you. That is how a kid learns to read. Anger has nothing to do with it.
The same approach works with any other behavior you want a kid to learn. Kid says a bad word. You respond with dramatic horror and move to protect him. "Do you know what that word means?" He doesn't. "Well, I think it's really STUPID to say a word when you don't know what it means! You don't say that word any more." "That's a good boy."
Anger has no place in the scene.