A man branded as “evil” when on drugs strangled his ex-partner in a bid to take her methadone, a court has heard.