JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app="testApp">
<div ng-controller="testController">
<table>
<tr ng-repeat="order in orders">
<td>{{order.id_order}}</td>
<td>$ {{calculate(order.shipping, order.tax)}}</td>
</tr>
</table>
</div>
</div>
JavaScript
var app = angular.module('testApp', []);
app.controller('testController', function($scope){
$scope.orders = [{
"id_order":"206",
"shipping":"100.00",
"tax":"35.00"
},{
"id_order":"205",
"shipping":"160.00",
"tax":"16.00"
},{
"id_order":"204",
"shipping":"100.00",
"tax":"16.00"
}];
$scope.calculate = function(shipping, tax){
return parseFloat(shipping) * parseFloat(tax)/100 + parseFloat(shipping);
};
});