JSFiddle - React, Tailwind, and code Playground

by Michael Bazos

HTML

<script src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.14/angular.js"></script>
<div ng-app="myApp" ng-controller="DemoCtrl">
    <table>
        <tr ng-repeat="order in orders">
    	    <td>{{order.shipping * (1 + order.tax / 100) | currency}}</td>
        </tr>
    </table>
</div>

JavaScript

var app = angular.module('myApp', []);

app.controller('DemoCtrl', 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"
    }];
});