this is my project's structure:
Already tried "/assets/images/spinner.gif", "/assets/spinner.gif" and "/images/spinner.gif"
What am I missing?
loading.src = "/YOURAPPNAME/assets/spinner.gif";
Although I prefer to have that gif in a div a then only show/hide that div and don't mess with paths.