I have something like this:
$scope.traveler = [ { description: \'Senior\', Amount: 50}, { description: \'Senior\', Amount: 50},
I always avoid changing prototype method and adding library so this is my solution:
Using reduce Array prototype method is sufficient
// + operator for casting to Number items.reduce((a, b) => +a + +b.price, 0);