JSFiddle - React, Tailwind, and code Playground

by Arco Brouwer

HTML

<div ng-app="myApp" ng-controller="myAppCtrl">
    <div ng-repeat="picture in allPictures">{{picture}}</div> 
</div>

JavaScript

angular.module("myApp", [])
.controller("myAppCtrl", function($scope) {
    
    $scope.getPictures = function() {
        var myPictures = [1,2,3];
        return myPictures
    };
    
    $scope.allPictures = $scope.getPictures();

});