I have something like this:
$scope.traveler = [ { description: \'Senior\', Amount: 50}, { description: \'Senior\', Amount: 50},
can also use Array.prototype.forEach()
let totalAmount = 0; $scope.traveler.forEach( data => totalAmount = totalAmount + data.Amount); return totalAmount;