title: Angular, pass a value from model html to Controller
body: <p>newbie question: How can i pass a value from my HTML back to the Controller code:
  FOr example, I want to pass the value '1234' to my js code.</p>
  
  <pre><code>&lt;div ng-app="Test"&gt;    
        &lt;div ng-controller="myCntlr"&gt;
               &lt;div ng-model="myModel" value="1234"&gt;
               {{outputVal}}
              &lt;/div&gt;
        &lt;/div&gt;     
  &lt;/div&gt;
  </code></pre>
  
  <p>JS controller:</p>
  
  <pre><code>test.controller('myCntlr', function ($scope, $filter) {
  
      // access the value '1234' here ?
  });
  </code></pre>
  
  <p>Thanks!</p>