JSFiddle - React, Tailwind, and code Playground

HTML

<body ng-app="App">
  <form name="angular" ng-controller="Ctrl">
    <button type="button" ng-click="$eval(func)()">
        Call {{func}}
    </button>
    <label>Status: {{scope.status}}</label>
  </form>

  <script>
    angular.module('App', []);

    function Ctrl($scope) {
      $scope.f1 = function() {
        $scope.status = "F1";
      };

      $scope.func = "f1";

    }
  </script>
</body>

</html>