I have numeric value as a String and I want to increment its value. In java we used to do it with Integer.parseInt but I am not getting how to achieve this in angular.
My Controller Code:
var count="18";
jsonData["combinationsData"]
.push( {
"vAxis": count,
"dataValue":dataValue
} )
count++;//I want to increment its value
I want to increment the count value to "19","20" so on, Please suggest how could I increment a String represented numeric value.
parseIntfunction on the string.