Kaley Cuoco-Sweeting's husband "loves" her ex-boyfriend.

Kaley Cuoco-Sweeting and Ryan Sweeting

Kaley Cuoco-Sweeting and Ryan Sweeting

The 29-year-old actress has claimed there's no bad blood between her spouse Ryan Sweeting and her former flame Johnny Galecki, whom she dated from 2007 until 2010, despite them still working together on the 'Big Bang Theory.'

Speaking on 'Watch What Happens Live,' Kaley said: "Well, we dated like five years ago, so I think we both moved on. Johnny is actually one of my best friends. It's a situation that ended well. I understand sometimes it doesn't. It could have gone horrible. He's one of my dearest friends and Ryan loves him. Johnny loves [Ryan]. I got lucky."

The blonde star, who plays Penny in the comedy, dated her co-star - who portrays Leonard - secretly for three years but it wasn't until 2013 they opened up about their romance.

Kaley moved on from the relationship and found love again with tennis player Ryan, whom she married in December 2013 after just eight months of dating.

And it seems things are going well for the couple as they are keen to have children in the near future but, for now, are concentrating on looking after their rescue dogs.

Asked whether they want to have a baby, the actress said earlier this year: "Soon enough. Just dogs now. They're everything. They're the greatest addition to our home."