Input field losing focus in nested AngularJS repeat
<p>I'm having some weird behavior with a nested angular list. The focus is immediately lost after the first letter I type.</p>

<p>The outer repeat is a list of attributes, identified by the attribute name (not index). The inner repeat is a subarray of an attribute, identified by index.</p>

<p>The display and binding work as expected but when I change something, e.g. insert a letter, the focus is lost and I can't type another letter or anything. I have to click the field again.</p>

<pre><code>&lt;div data-ng-repeat="(key, value) in configuration.metaData"&gt;

    &lt;label&gt;{{key}}&lt;/label&gt;

    &lt;input data-ng-repeat="subKey in configuration[key]"
           data-ng-model="configuration[key][$index]"
           type="text"
           name="{{subKey}}"&gt;
&lt;/div&gt;
</code></pre>

<p>Some additional information that might be helpful:</p>

<ul>
<li>this snippet is included in a form via ng-include</li>
<li>I get the same behavior with textarea</li>
<li>metaData contains data about the attributes of the object (also datatype etc.) but the real values are in the configuration itself</li>
</ul>