title: Display value of a textbox inside another textbox using AngularJs on button click
body: <p>New in AngularJs. Finding it complex a little. I have created two text box and a button. Now I want, first I will write something inside the first text box. Then I will click on the button. After that the value of the first text box will get displayed inside the second text box. I have written very little code, I didn't even mentioned the button click function as I am confused on that. Please help me to go further.</p>
  
  <pre><code>&lt;script src="../../Scripts/angular.min.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div ng-app=""&gt;
          &lt;input type="text" ng-model="type"&gt;
          &lt;br /&gt;
          &lt;br /&gt;
          &lt;input type="button" value="button" onclick="myFunction()" /&gt;
          &lt;br /&gt;
          &lt;br /&gt;
          &lt;input type="text" ng-model="display" /&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  </code></pre>