You did not cause her addiction
You cannot control her addiction
You cannot cure her addiction
Just like she could not with you.
I don't think we have any control over our emotions (be it mad, sad, glad), but we DO have control over what we do with those emotions.
If being mad means that you go and beat someone up, not okay
If being mad means that you deal with it, address it etc it is what it is.
I usually realize that my emotions are often more about me than another person.
Congrats on your sobriety