title: How do I pass a html value into an AngularJS method?
body: <p>I am trying to pass a value from a html element angularJS method bound to the $scope.</p>
  
  <p>The code is...</p>
  
  <pre><code>&lt;div ng-app ng-controller="miniC"&gt;
  
        &lt;input name="someitem" ng-blur="CalculateTotals(this)"/&gt;
  
  &lt;/div&gt;
  
  function miniC($scope){
  
  
      $scope.myAccounts =  new Array();
  
      $scope.CalculateTotals = function(amt){
  
          console.log(amt);
  
      }
  
  
  }
  </code></pre>
  
  <p><a href="http://cdpn.io/qshtK" rel="nofollow">codepane link</a></p>
  
  <p>But I cannot seem to extract the value from the element. I do not want to bind in this case as I am trying some things out and this was one of the approaches I had....</p>