title: img ng-src image is never ending
body: <p>I've something like below</p>
  
  <pre><code>&lt;img width="100" height="177" ng-show="file.fileName" ng-src="file.fullPath" class="img-thumbnail" alt="test" onerror="this.src = $(this).attr('altSrc')"&gt;
  
  fileName is "abc.png"
  fullPath is "/data/uploads/abc.png"
  </code></pre>
  
  <p>But, The src is never ending.. below is the log.</p>
  
  <pre><code>INFO 2015-10-02 03:02:40-6357939496072691129 - Request: GET localhost:26264/undefined 
  INFO 2015-10-02 03:02:40-6357939496072691129 - Response: GET localhost:26264/undefined Not Found 
  INFO 2015-10-02 03:02:40-6357939496074282039 - Request: GET localhost:26264/undefined 
  INFO 2015-10-02 03:02:40-6357939496074282039 - Response: GET localhost:26264/undefined
  </code></pre>
  
  <p>How to prevent this?</p>