<!DOCTYPE html>
<html>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>
<body>

<form ng-app="" name="myForm" ng-init="myText = 'post@myweb.com'">

Email:
<input type="email" name="myAddress" ng-model="myText" required>
<p>Edit the e-mail address, and try to change the status.</p>
<h1>Status</h1>
<p>Valid: {{myForm.myAddress.$valid}} (if true, the value meets all criteria).</p>
<p>Dirty: {{myForm.myAddress.$dirty}} (if true, the value has been changed).</p>
<p>Touched: {{myForm.myAddress.$touched}} (if true, the field has been in focus).</p>

</form>

</body>
</html>
// Code goes here

/* Styles go here */

<div>
w3s111-AngularJS Model Application Status
<br/>
code example:
  <hr>
[SCRIPTNAME]
  <br/>
  <textarea 
  id='codeoutput' 
  style="width: 100%;height: 300px;background-color: #dffff4;
      font-size: 1em;font-family: Verdana, Arial, Helvetica, sans-serif;
      border: 1px solid black;">
      
<!DOCTYPE html>
<html>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>
<body>

<form ng-app="" name="myForm" ng-init="myText = 'post@myweb.com'">

Email:
<input type="email" name="myAddress" ng-model="myText" required>
<p>Edit the e-mail address, and try to change the status.</p>
<h1>Status</h1>
<p>Valid: {{myForm.myAddress.$valid}} (if true, the value meets all criteria).</p>
<p>Dirty: {{myForm.myAddress.$dirty}} (if true, the value has been changed).</p>
<p>Touched: {{myForm.myAddress.$touched}} (if true, the field has been in focus).</p>

</form>

</body>
</html>

    
  </textarea>

  
  <hr/>
  <iframe 
  allowfullscren="allowfullscren" 
  frameborder="0" 
  src="https://embed.plnkr.co/D3geSLNdHVEI5MXWzvEW?show=preview" 
  style="height: 400px; width: 100%;">
  </iframe>
  <hr> 
https://www.w3schools.com/angular/angular_model.asp
  <hr> 
  201603
</div>