JSFiddle - React, Tailwind, and code Playground

by zzlalani

HTML

<div ng-app>
    <div ng-controller="FiddleCtrl"></div>
</div>

JavaScript

function FiddleCtrl($scope, $http) {
    $http.jsonp('https://sergedenimes.com/wc-api/v2?callback=JSON_CALLBACK')
    .success(function ( data, status, headers, config ) {
        console.log(data, status, headers, config);
    })
    .error(function ( data, status, headers, config ) {
        console.log("Error", data, status, headers, config);
    });
}