title: Angular JS + Django - Referencing static files
body: <p>I've written my first angular app for handling a rather complex multi-file upload process within a Django app. Everything is working great and I'm loving Angular. However, I stumbled on a simple problem referencing image sources. It's not critical for my app, but I wanted to add a simple spinner/whirligig image while the files are uploading.</p>
  
  <p>In my non-Angular Django templates this is dead simple:</p>
  
  <pre><code>&lt;img src='{% static 'whirligig.gif' %}'&gt;
  </code></pre>
  
  <p>This doesn't work inside Angular views due to the Angular/Django template syntax conflict. Of course, I can hard-code my Django STATIC_URL path or use a relative path from the Angular partial, but I'd prefer not to. Am I missing something simple here or is this just an unfortunate product of mixing two MVC frameworks?</p>