<span ng-click="remo()">⇐</span>
$scope.remo = function() { $scope.inputstring = $scope.inputstring.slice(0, -1); };