JSFiddle - React, Tailwind, and code Playground

HTML

<body ng-app="myApp">
<div ng-controller="ExampleController">
 
     <div class="container-fluid" ng-init="submit()">

        {{arr}}
    </div>
</body>

JavaScript

angular.module('myApp', [])
    .controller('ExampleController', ['$scope', function($scope) {
        $scope.arr="adsadasdas";
        $scope.submit = function(){
        //var jsonOb = {"A":"B"};
     $scope.arr = "Submit function called!!!";
       /* $http.post(URL,jsonOb).
        success(function(response) {
            console.log('got it' + response);
            $scope.arr=response;
        }).
        error(function(data, status, headers, config) {
        //console.log('nufin' + status);
                console.log(window.location.pathname);

        });*/
    }
    
    
    
    
    }]);