JSFiddle - React, Tailwind, and code Playground

by slim7700

HTML

<div ng-app='myApp' ng-controller='myCtrl'>
    {{customers}}
</div>
 
<script>
var myApp = angular.module('myApp',[]);
myApp.controller('myCtrl', ['$scope', function($scope) {
  $scope.customers = [
                { Name: "Dave Jones",  City: "Phoenix" }
                , { Name: "Jamie Riley", City: "Atlanta" }
                , { Name: "Heedy Walhin", City: "Chandler" }
                , { Name: "Thomas Winter", City: "Seattle" }
            ];
            console.log(JSON.stringify($scope.customers));
}]);
</script>