JSFiddle - React, Tailwind, and code Playground

by Gabriel Z

HTML

<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.9/angular.min.js"></script>
<html>
<body ng-app="testApp" ng-controller="testControl">    
    <ul>
       <li ng-repeat="x in phones">
           {{x.name}}<br />{{x.title}}
       </li>    
    </ul>
 </body>   
</html>

JavaScript

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

testApp.controller('testControl', function($scope){
    $scope.phones = [
        {name: 'iPhone 6', title: 'Apple created'},
        {name: 'Samsumg Galaxy 2', title: 'Samsung created'}
    ];
});