JSFiddle - React, Tailwind, and code Playground
by Yang Tyler
HTML
<script src="https://code.angularjs.org/1.2.26/angular.js"></script>
<div ng-app="MyApp">
<div ng-repeat="li in lists()">
{{li.name}}
</div>
</div>
JavaScript
var myApp = angular.module('MyApp', []);
myApp.controller('MainController', function($scope){
$scope.list = function(){
return [
{name: 'John'},
{name: 'Tyler'}
];
}
});