# Meaningless console errors Not Found Images

**URL:** <https://forum.ionicframework.com/t/meaningless-console-errors-not-found-images/14590>\
**Category:** uncategorized\
**Created:** [December 22, 2014, 4:57pm UTC](https://forum.ionicframework.com/t/meaningless-console-errors-not-found-images/14590 "2014-12-22T16:57:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BDomantas](https://avatars.discourse-cdn.com/v4/letter/b/3ab097/32.png) [@BDomantas](https://forum.ionicframework.com/u/BDomantas)\
**Post date:** [December 22, 2014, 4:57pm UTC](https://forum.ionicframework.com/t/meaningless-console-errors-not-found-images/14590/1 "2014-12-22T16:57:27Z")

</div>

Basicly chrome outputs errors like this every time I use this code  
**Code**

```
 <img src="{{Formules[$index].getImg()}}">

```

**Error**

```
http://localhost:8100/%7B%7BFormules[Load].getIsvkImg(1)%7D%7D 404 (Not Found)

```

However it finds images and loads them as it should so why the heck is it outputing those errors

Btw. `Formules[$index].getImg()` outputs somethink like this _img/0.png_

where 0 is just $index

---

<div class="post-metadata">

**Author:** ![brandyshea](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/brandyshea/32/148286_2.png) [@brandyshea](https://forum.ionicframework.com/u/brandyshea)\
**Post date:** [December 22, 2014, 5:28pm UTC](https://forum.ionicframework.com/t/meaningless-console-errors-not-found-images/14590/2 "2014-12-22T17:28:56Z")

</div>

I think you should be using [ngSrc](https://docs.angularjs.org/api/ng/directive/ngSrc) if you want to get rid of the errors. Changing src to ng-src removed the console errors when I tested it.

---

<div class="post-metadata">

**Author:** ![BDomantas](https://avatars.discourse-cdn.com/v4/letter/b/3ab097/32.png) [@BDomantas](https://forum.ionicframework.com/u/BDomantas)\
**Post date:** [December 22, 2014, 5:46pm UTC](https://forum.ionicframework.com/t/meaningless-console-errors-not-found-images/14590/3 "2014-12-22T17:46:39Z")

</div>

Thank you ! Using ng-src solved everything

```
 `<img ng-src="{{Formules[$index+1].getImg()}}">`
```
