title: ng-include angular with django template system
body: <p>I am using Django with angular,</p>
  
  <p>In my angular scope, I have : </p>
  
  <pre><code>$scope.templates = [
      { name: 'addSongTemplateAjax', url: "templates/add_song_for_ajax.html"}, 
      { name: '', url: ''}
  ];
  $scope.template = $scope.templates[0];
  </code></pre>
  
  <p>in my html file I have : </p>
  
  <pre><code>&lt;div class = "add_song_submit_form" ng-include="template.url"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>So, I want load the template add_song_for_ajax.html from the javascript angular side. It's doesn't work. Django throw me an error 404. I know it's logic because We try to find the url in the urls.py ...</p>
  
  <p>So I am sure I have to deal with the settings and urls.py of my application in order to say to django, yes the client can load this file ! But I dont find how.</p>
  
  <p>My template.html I want to load</p>
  
  <pre><code>&lt;div class="alert alert-info" style = "margin-bottom:10px!important; margin-top:10px;"&gt;The song will be added to the playlist selected &lt;strong&gt;//playlist_selected.fields.name//&lt;/strong&gt;&lt;/div&gt;
  &lt;form role = "form"&gt;
      &lt;div class="form-group"&gt;
          &lt;label for = "artist_band"&gt;Artist / Band&lt;/label&gt;
          &lt;input class="form-control" id="artist_band" placeholder = "Enter artist / band"&gt;
      &lt;/div&gt;
      &lt;div class="form-group"&gt;
          &lt;label for="Title"&gt;Title / Song name&lt;/label&gt;
          &lt;input type="text" class="form-control" id="title" placeholder="Title / Song name"&gt;
      &lt;/div&gt;
      &lt;div class="form-group"&gt;
          &lt;label for = "url"&gt;Url&lt;/label&gt;
          &lt;input class="form-control" id="url" placeholder = "Url"&gt;
      &lt;/div&gt;
          &lt;button type="submit" class="btn btn-default" ng-click = "submit_add_song()"&gt;Submit&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Any idea ?</p>