.replace(/^(?:0+(\d))/, '$1')
<input oninput="this.value=this.value.replace(/^0(?=\d)|\D/,'')" />
$scope.cell.par.replace(/[^0-9]/g, '').replace