title: get the text of div using angularjs
body: <p>i want to get the text of div using angularjs . I have this code </p>
  
  <pre><code>&lt;div ng-click="update()" id="myform.value"&gt;Here &lt;/div&gt;
  </code></pre>
  
  <p>where as my controller is something like this </p>
  
  <pre><code>    var  myapp= angular.module("myapp",[]);
      myapp.controller("HelloController",function($scope,$http){
  
      $scope.myform ={};
  
      function update()
      {
              // If i have a textbox i can get its value from below alert 
              alert($scope.myform.value);
      }
      });
  </code></pre>
  
  <p>Can anyone also recommand me any good link for angularjs . I dont find angularjs reference as a learning source . </p>