JSFiddle - React, Tailwind, and code Playground

HTML

<body ng-app>
    <div ng-controller="testController" >
        <input type="hidden" id="testInput" ng-model="testInput" ng-init="testInput='value'" />
    </div>
    {{ testInput }}
</body>

JavaScript

var testController = function ($scope) {
    console.log('test');
     console.log($scope.testInput);
}