JSFiddle - React, Tailwind, and code Playground

by strider820

HTML

<div ng-app ng-controller="main">
<label>
    Yes <input ng-click="everassignedYes()" ng-model="assignedYes"  type="radio"/>
</label>
<label>
    No <input ng-click="everassignedNo()" ng-model="assignedNo" type="radio"/>
</label>
<div id="deacordercollapse" ng-show="deaTable" class="ng-hide" >
    stuff and things
</div>
</div>

JavaScript

var main = function($scope) {
$scope.everassignedNo = function() {
  return $scope.deaTable = true;
};
$scope.everassignedYes = function() {
  return $scope.deaTable = false;
};
}