JSFiddle - React, Tailwind, and code Playground

by spechackers

HTML

<body ng-app="myApp" ng-controller="DemoController">
    <h3> GitHub Repos</h3>
    <ul>
        <li ng-repeat="repo in repos">
            <a ng-href="{{repo.html_url}}"> {{ repo.name }} </a>
        </li>
    </ul>
</body>

JavaScript

var app = angular.module("myApp", []);
app.controller("DemoController", ["$scope", "$http",  function($scope, $http){
    $http.get("https://api.github.com/users/angular/repos")
    .success(function(repos){
        $scope.repos = repos
    });
}]);