When I try to use the following code in a website template:
The image loads correctly, but before loading this error appears in the console:
GET link 404
Everything leads me to believe that HTML tags are being loaded and executed before the angular directives, causing the text of the tag calling the function to appear in the HTML code for a few milliseconds.
Is there any way to fix this?