I need to add a minus sign onclick of a button (-200), and on second click, the minus sign should be removed. And minus sign can be added only in the beginning.
<input type="button" value="-" name ="minus" id="minus" ng-click="click($event)" />
$scope.click = function(event){
angular.element('.numValBox').focus();
angular.element('.numValBox').val(function(index,val){
return val + angular.element(event.target).val();
});
};
.numValBox?