title: Find field by its angularjs model
body: <p>Can I somehow find the field corresponding with a given angularjs model? I know, that there may be multiple fields corresponding with a single variable, or none, but this is not a problem. </p>
  
  <p>For example, there's an <code>input ng-model=users[2].name</code>, I want a method taking the string <code>"users[2].name"</code> and returning the DOM element.</p>
  
  <p>I needn't be fast, as I want it for a sort of demo of user input, e.g., if the user should fill the name field, I move an (mouse simulating) overlay to it and fill it programmatically. Si</p>
  
  <p>I can do it via jquery, but this is rather cumbersome, as it's hardly ever as straightforward as the selector<code>input[ng-model="user[0].name"]</code>. It's typically buried in <code>ng-repeat="user in users"</code> and that several levels deep. Or worse, in a mixture of <code>ng-repeat-start</code> and <code>ng-repeat-end</code>.</p>
  
  <p>A solution changing <code>users[2].name</code> and then finding the changed DOM elements would probably be alright, too.</p>
  
  <p>I created a <a href="http://plnkr.co/edit/DiBDAUEfPVMEhDndZvh8?p=info" rel="nofollow">plunk</a> hopefully showing what I wanted.</p>