![](https://i0.wp.com/www.eskocruz.com/wp-content/uploads/2015/11/rs-thumb-610x396-1-2-2-1.jpg?resize=610%2C396&ssl=1)
I am always falling victim to causing an error by using Angular Expressions inside a src attribute.
I am writing this post specifically to hopefully remember to always use ng-src.
<img src="" />
The reason for the error is the browser tries to load the image before the Expression evaluates.
The ng-src Directive is needed to print out the source.
<img ng-src="" />
Hopefully this will help with my memory.