title: Angular ng-include is not working with the razor page
body: <p>I have used <code>ng-include</code> as shown below.But it is not working.Could you tell me why ? Thanks in advance.</p>
  
  <p><strong><em>createOrEditPropertyModal.cshtml</em></strong></p>
  
  <pre><code>&lt;div ng-include="'propertymanagement/tabs/createPropertyForm.html'"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>I have tried this way also.But same <code>404</code> error.</p>
  
  <pre><code> &lt;div ng-include="'tabs/createPropertyForm.html'"&gt;&lt;/div&gt;
  </code></pre>
  
  <p><strong><em>createPropertyForm.cshtml</em></strong></p>
  
  <pre><code>&lt;script type="text/ng-template" id="createPropertyForm.html"&gt;
      &lt;form name="createPropertyForm" role="form"&gt;
  
         //removed for clarity
  
      &lt;/form&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p><strong><em>Soloution Tree</em></strong></p>
  
  <p><a href="https://i.stack.imgur.com/kb9zr.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kb9zr.jpg" alt="enter image description here"></a></p>
  
  <p><strong>Note :</strong> When I put it on the same page then it works.But how can I do that in above way ? B'cos I would like to put that code on separate <code>.cshtml</code> file.</p>
  
  <pre><code> &lt;div ng-include="'createPropertyForm.html'"&gt;&lt;/div&gt; //on same page where this works well
  </code></pre>