title: In AngularJS routing, how templateUrl works without pointing to a .html file
body: <p>I am trying to understand the AngularJS routing when it is used with ASP.net MVC. I am following this <a href="https://josephjefferson.wordpress.com/2014/04/03/merging-asp-net-mvc-and-angularjs-routing/" rel="nofollow">article</a> to understand AngularJS routing. My query is specific to the usage of 'templateURL'. I understand that in pure AngularJS routing, templateUrl points to a specific '.html' page. But in the many example applications that I have seen in the internet for AngularJS and ASP.net MVC, I have seen that templateURL does not point to a specific .html, but a path of the view folder is given, not the .html file (or .cshtml file, which i know can be processed only by ASP.net MVC framework). For example from the article, following is the routing information given in the AngularJS javascript:</p>
  
  <pre><code>    NbCapp.config(function ($routeProvider) {
   $routeProvider
   .when('/ondemand', {
   controller: 'onDemandController',
   templateUrl: 'ondemand/ondemand'
   })
   .when('/results', {
   controller: 'resultsController',
   templateUrl: 'results/results'
   })
   .otherwise({ redirectTo: '/results' });
  });
  </code></pre>
  
  <p>As observed from the above, all the routing, points to a folder not a .html file. Could anyone please help me understand how this works.</p>