JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html ng-app="javascriptTest">
<head>
	<title></title>
</head>
<body ng-controller="mainCtrl">

{{status}}
    

<button ng-click="mainData()"></button>

</body>
</html>

JavaScript

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


app.controller('mainCtrl', function($scope, $http) {

    
    
    $http.get("https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20json%20where%20url%3D'www.whitehouse.gov%2Ffacts%2Fjson%2Fall%2Fcollege%2520affordability'&format=json&diagnostics=true").then(function(responce) {
      $scope.status = responce;
      $scope.sortData = responce.data.query.results.json.json.url;
      console.log(responce);
      console.log($scope.sortData);
    });

});