JSFiddle - React, Tailwind, and code Playground
by sunnycyk
HTML
<html ng-app class="ng-app">
<head>
</head>
<body>
<div ng-controller="Controller">
<form name="form">
<input name="test" type="text" placeholder="{{test}}" ng-model="test1" />
Form Dirty: {{ form.$dirty }}
</form>
<form name="form2">
<input name="test" type="text" placeholder="{{test}}" ng-model="test1" />
Form2 Dirty: {{ form2.$dirty }}
</form>
</div>
</body>
</html>
JavaScript
function Controller($scope)
{
$scope.test = "Hello world";
}