Calling a function in ng-repeat
<p>I have an <code>&lt;input type="file"&gt;</code> in ng-repeat and  I want to call a function whenever the value of element changes for the <code>&lt;input type="file"&gt;</code> element in ng-repeat.</p>

<p>I tried calling a <code>$(#"id").change()</code> function but it is not working. I have tried using ng-change, but ng-repeat doesnt work when I use ng-change. This is my code:</p>

<p><strong>IN HTML</strong></p>

<pre><code>&lt;div ng-repeat="item in items"&gt;
    &lt;input  type="file" accept="image/*" id="add_{{$index}}"/&gt;
&lt;/div&gt;
</code></pre>

<p><strong>IN JS</strong></p>

<pre><code>$("#add_images").change(function() {
    alert("HI");
}
</code></pre>