title: Get value from HTML input element from Angularjs controller
body: <p>I'm trying to get the value from an HTML element from Angular controller.</p>
  
  <pre><code>   &lt;div ng-app="myApp" ng-controller="myControler"&gt;
  &lt;br /&gt;
  
  &lt;input id="Text1" type="text"  runat="server" value="aValue" /
  </code></pre>
  
  <p></p>
  
  <p>My controller :</p>
  
  <pre><code>var myApp = angular.module('myApp', []);
  
  
  myApp.controller("myControler", function ($scope, $document) {
  
      var name = angular.element($('#Text1')).val();
       console.log(name);
  
  });
  </code></pre>
  
  <p>But name returns "undefined"...</p>
  
  <p>Please, what I'm doing wrong ?</p>