JSFiddle - React, Tailwind, and code Playground
by toddmotto
HTML
<div ng-app="app">
<div ng-controller="MainCtrl">
<ul>
<li ng-repeat="item in items">
{{ item.name }}
</li>
</ul>
</div>
</div>
CSS
</style>
<script src="//code.angularjs.org/1.3.0-beta.17/angular.min.js"></script>
<style>
JavaScript
(function () {
function MainCtrl ($scope) {
$scope.items = [{
name: 'Scuba Diving Kit',
id: 7297510
},{
name: 'Snorkel',
id: 0278916
},{
name: 'Wet Suit',
id: 2389017
},{
name: 'Beach Towel',
id: 1000983
}];
}
angular
.module('app', [])
.controller('MainCtrl', MainCtrl);
})();