A smirking thug has been jailed after strangling his pregnant partner and threatening her with a knife, a court has heard.