Electron transfer in reaction between ammonia and hydrochloric acid
Chlorine is the more electronegative species. It would thus retain the bonding electrons when the hydrogen is evicted. This hydrogen then forms a coordinate bond with the lone pair on nitrogen.