title: send keys to element by model in repeater
body: <p>Following this example: <a href="https://stackoverflow.com/questions/28113641/protractor-get-element-by-model-in-repeater-array">Protractor get element by model in repeater array</a>, I am running into a head scratcher. I want to send input value to an element inside of a repeater. Hopefully it is a simple solution!</p>
  
  <p>My HTML looks similar to this. The main difference being "posts" vs "user.posts".</p>
  
  <pre><code>&lt;tr ng-repeat="post in user.posts"&gt;
      &lt;td ng-click="activePost(post)" class="title"&gt;{{post.title}}&lt;/td&gt;
      &lt;td&gt;&lt;button class="btn btn-danger" ng-click="delete(post)"&gt;Delete&lt;/button&gt;&lt;/td&gt;
    &lt;td&gt;&lt;input type="text" ng-model="post.subtitle" 
          id="{{post.id}}" /&gt;&lt;/td&gt;
   &lt;/tr&gt;
  </code></pre>
  
  <p>Then following the example, I wrote something like this:</p>
  
  <pre><code>element.all(by.repeater('post in user.posts')).then(function(posts) {
     var activePost = posts[0].element(by.model('post.subtitle'));
     activePost.sendKeys('My post');
  });
  </code></pre>
  
  <p>The protractor test fails at "activePost.sendKeys('My post')" with the following error:</p>
  
  <pre><code>NoSuchElementError: No element found using locator:  
  by.model("post.subtitle"). 
  Stacktrace:
           NoSuchElementError: No element found using locator: by.model("post.subtitle")
          at Array.forEach (native) Error
          at /Users/.../e2e/spec.js:51:17
          at Array.forEach (native) From: Task: Asynchronous test function: it() Error
          at [object Object].&lt;anonymous&gt; (/Users/.../e2e/spec.js:32:3)
          at Object.&lt;anonymous&gt; (/Users/.../e2e/spec.js:2:1)
  </code></pre>
  
  <p>Would anyone have any suggestions for what I could try or a different way to think about it? Thanks! </p>
  
  <p>ANSWER: The error Protractor was throwing was completely unrelated to the repeater but instead to a missing ending div tag in the view. Isn't it occasionally something odd like that? Go figure. </p>