title: angular url with django url
body: <p>I am making a Single Page Application using angularJS, django and django-rest-framework. All urls are specified in django and only those urls in which I want to load partials are specified in ng-routing.</p>
  
  <p>Now in ng-view I can load partials for the urls specified in ng-routing.But lets say <code>/about</code> is not specified in angular but its there in django. When I do like this in ng-view:</p>
  
  <p><code>&lt;a href="/about"&gt;about&lt;/a&gt;</code> </p>
  
  <p>then since this url is not in ng-routing required template is not rendered.</p>
  
  <p>But this works-</p>
  
  <p><code>&lt;a href="/about" target="_self"&gt;about&lt;/a&gt;</code></p>
  
  <p>because on reloading the url is handled by django and it renders the template.</p>
  
  <p>What is the DRY way of writing the django and angular urls so that I don't need to redundantly specify urls at two places i.e. django-urls and ng-routing, and angular can understand the django urls ?</p>