JSFiddle - React, Tailwind, and code Playground

by flek

HTML

<html ng-app>
    <head>
    </head>
    <body ng-controller="Root">
        <div ng-repeat="offer in userinfoadd.offers">
            <label>Offer</label>
            <input type="text" ng-model="userinfoadd.offers[$index]" />
        </div>
        <ul><li ng-repeat="offer in userinfoadd.offers">{{offer}}</li></ul>
    </body>
</html>

JavaScript

function Root($scope) {
    $scope.userinfoadd = {
     offers: ['one','two','three','four','five']
  };
}