JSFiddle - React, Tailwind, and code Playground

by nabeezy

HTML

<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular.min.js"></script>
<div ng-controller="MyCtrl">
  <div ng-repeat="bt in btDevices">
    {{bt.id}} : {{bt.name}}
  </div>
</div>

JavaScript

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

function MyCtrl($scope) {
    $scope.btDevices = [
      {
        id: "123",
        name: "Soapy Dispenser"
      },{
        id: "456",
        name: "Dishwasher Stuff"
      },{
        id: "789",
        name: "Mop Soap Maker"
      }
    ];
}