Talaaq

Suspended talaaq

Q: I had a fight with my wife and in anger, I told her that if you will do this work again you will be divorced on me.

My question is that if she does that work, will the divorce take place? 

Husband telling wife "Let's go to the Qazi and get a talaaq"

Q: One day me and my husband were quarreling. I said that, "you have ruined my life". Hearing that, he became angry and told me two or three times, "ok then, let's go to the Qazi and get a talaq". He did not have any intention to give me talaq or he did not say "talaq talaq talaq or I am giving you divorce". He just told me that to make me feel bad. In this case did the talaq take place?