JSFiddle - React, Tailwind, and code Playground

HTML

<div ng-app ng-init="viewModel = { things: [ { name: 'one', num: 1 }, { name: 'two', num: 2 } ] }; viewModel.currentThing = viewModel.things[0]">
    <p>name: {{ viewModel.currentThing.name}} num: {{ viewModel.currentThing.num}}</p>
    <ul>
        <li ng-click="viewModel.currentThing = thing" ng-repeat="thing in viewModel.things">{{thing.name}}</li>
    </ul>
</div>