title: how to get value ng-model in html to javascript
body: <p>Probably silly question, but I have my html form with simple input and password:</p>
  
  <pre><code>&lt;li&gt;
    &lt;input type="text" placeholder="Username" ng-model="user.username" /&gt;
    &lt;a class="iconani usera"&gt;&lt;/a&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;input type="password" placeholder="Password" ng-model="user.password" /&gt;
    &lt;a class="iconani locka"&gt;&lt;/a&gt;
  &lt;/li&gt;
  </code></pre>
  
  <p>and i want to get value from ng-model to java script</p>
  
  <pre><code>query.equalTo("user", document.getElementById('value from ng-model'));
  </code></pre>
  
  <p>I use this from parse.com<br>
  Can you help me?</p>