JSFiddle - React, Tailwind, and code Playground

by andreev_artem

HTML

<div ng-app ng-controller="ExampleCtrl">
    <input type="text" name="qty" ng-model="quantity" class="required number">
    <div> {{quantity * 50 | number:2}} </div>
</div>

JavaScript

function ExampleCtrl($scope) {
    $scope.quantity = 1;
}