JSFiddle - React, Tailwind, and code Playground

by nicolasmoise

HTML

<body ng-app="myApp">
<ul ng-controller="MyCtrl">
   <li ng-repeat="country in countries">
       {{country.name}} has population of {{country.population}}
   </li>
</ul>
</body>

JavaScript

//Switch between commented/uncommented

angular.module('myApp', [])
.controller("MyCtrl", function($scope) {

      $scope.countries = [
          {name: 'France', population: 63.1},
          {name: 'United Kingdom', population: 61.8}
      ];

   });