<!DOCTYPE html>
<html lang="en">
<script src="http://www.sargonco.com/Uploads/Public/article/webdistut/javascript/angular.min.js"></script>
<body>

<div ng-app="">
  <form>
    First Name: <input type="text" ng-model="firstname">
  </form>
  <h1>You entered: {{firstname}}</h1>
</div>

<p>Change the name inside the input field, and you will see the name in the header changes accordingly.</p>

</body>

</html>

First Name:

You entered: {{firstname}}

Change the name inside the input field, and you will see the name in the header changes accordingly.