JSFiddle - React, Tailwind, and code Playground

HTML

<div ng-app="testApp" ng-controller="TestController as vm">
  <div ng-repeat="input in vm.inputs track by $index">
  <span ng-if="$index === 0">Primary-Site: </span>
  <span ng-if="$index !== 0">Sub-Site: </span>
  <input type="text" ng-model="vm.myInput[$index]">{{vm.myInput[$index]}}
  </div>
  <button ng-click="vm.add()">Add</button>
  <div>{{vm.myInput | json}}</div>
</div>

JavaScript

angular.module('testApp',[])
.controller('TestController', function(){
	const vm = this;
  vm.inputs=[{}];
  vm.myInput = [];
  vm.add = function(){
  	vm.inputs.push({})
  }
  
})