It is believed that the references about the ex in 'Jennifer's Way' are a thinly veiled comments on Cooper, who she divorced in 2007 after only four months, reported Us magazine.
"Finding someone to love, who loved me, in this lonely city of Los Angeles was seeming more and more impossible every day. Then I met someone and accepted a date.
"I should have noticed the red flags from the beginning-actually, they were more like an entire marching band squad of red flags-but I ignored them because, honestly, I didn't think the relationship was really going to go anywhere," Esposito said.
The actress says that as their one date led to other dates she realised that her ex "also had a mean, cold side." She says that she decided to keep the relationship going despite challenges but things did not work out.
More From This Section
"Within days, my relationship hit an all-time low, and within a week, it was over. Abruptly, rudely, and with the exact callousness that I'd come to expect from him, but this time, I did nothing but agree to end it," she said.
Esposito has since dated tennis player Mark Philippoussis, and is now engaged to model Louis Dowler.
While Cooper is currently dating Suki Waterhouse. He also dated Renee Zellweger and Zoe Saldana.