title: angularjs get DOM ng-model
body: <p>Every <code>input/element</code> In Angularjs will bind a <code>ng-model</code></p>
  
  <p>without using <code>Id</code> and <code>Class</code> to get the element <code>DOM</code></p>
  
  <p>We can use</p>
  
  <p><code>$('[ng-model="Model"]')</code></p>
  
  <p>But If the model is under <code>ng-repeat</code>, </p>
  
  <p>How can I get the DOM without using the unique <code>DOM</code></p>
  
  <p><br/>
  Example:</p>
  
  <p><code>&lt;input type="text" ng-model="name"/&gt;</code></p>
  
  <p><code>$('[ng-model="name"]')</code>
  to get the DOM</p>
  
  <p>what if I want to get all the input DOM (ng-repeat)</p>
  
  <pre><code>&lt;div ng-repeat="name in names"&gt;
      &lt;input type="text" ng-model="name"/&gt;
  &lt;/div&gt;
  </code></pre>