JSFiddle - React, Tailwind, and code Playground

by Alex

HTML

<div ng-controller="MyCtrl">
	<ul>
		<li ng-repeat="preset in presets">{{ preset.name }}</li>
	</ul>
    <input type="text" ng-model="tools.name" />
	<pre>{{ presets | json }}</pre>
</div>

JavaScript

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

function MyCtrl($scope) {
	$scope.presets = [
		{
			"name": "First"
		}
	];
    
    $scope.tools = $scope.presets[0];
};