Can you have the intent to do no harm toward another and yet still be very angry with that person?
Yes, a commitment to do no harm is an act of the will. Anger is an emotion. We can control the will (what we decide to think and what we will do behaviorally) more than we can control our emotions. Thus, as we conform our will to do no harm, we still might be angry.