I am trying to make a simple addition using the following code but for some reason the result is a simple string concatenation instead of arithmetic addition. Can someone please tell me what I am missing here and how to fix this problem? Thanks
$scope.budget = localStorageService.get('budget'); //this returns 5000
$scope.toBeAdded = localStorageService.get('newAddition'); //this return 500
$scope.NewBudget = $scope.budget + $scope.toBeAdded; //return 5000500 instead of 5500