JSFiddle - React, Tailwind, and code Playground

by johnlindquist

HTML

<div ng:app>
    <div ng:controller="PhoneListCtrl">
        <ul>
            <li ng:repeat="phone in phones">
                {{phone.name}}
                <p>{{phone.snippet}}</p>
            </li>
        </ul>
    </div>
<div>

CSS

</style>
<script src="http://docs-next.angularjs.org/angular-1.0.0rc2.min.js"></script>
<style>

JavaScript

function PhoneListCtrl($scope) {
    $scope.phones = [{"name": "Nexus S",
        "snippet": "Fast just got faster with Nexus S."},
        {"name": "Motorola XOOM™ with Wi-Fi",
            "snippet": "The Next, Next Generation tablet."},
        {"name": "MOTOROLA Xyboard™",
            "snippet": "The Voyager tablet."}];
}