title: ASP.Net Core/AngularJS: Routing problems showing "/#!/" directory
body: <p>I'm developing an ASP.Net Core Application that uses AngularJS (version 1). I've got a problem that when I run/launch the application, the home URL always comes out to:</p>
  
  <p><code>http://localhost:59745/#!/</code></p>
  
  <p>The specific question I have is towards why it's saying <code>/#!/</code> and not just the expected root <code>/</code>.</p>
  
  <p>My <code>Startup.cs</code> that declares the <code>MapRoute</code> for the application:</p>
  
  <pre><code>app.UseMvc(config =&gt;
  {
      config.MapRoute(
          name: "Default",
          template: "{controller}/{action}/{id?}",
          defaults: new { controller = "App", action = "Index" }
          );
  });
  </code></pre>
  
  <p>My <code>app.js</code> declaring the angular seeding for the application/module:</p>
  
  <pre><code>var app = angular.module('myScheduler', ['ngStorage', 'ngRoute'])
      .config(function ($routeProvider) {
          $routeProvider.when("/", {
              controller: "homeController",
              controllerAs: "vm",
              templateUrl: "/views/home.html"
          });
  
          $routeProvider.otherwise({
              controller: "loginController",
              controllerAs: "vm",
              templateUrl: "/views/login.html"
          });
      });
  </code></pre>
  
  <p>Why is my URL showing the way it is, and how can I default it to just the root <code>/</code> rather than <code>/#!/</code>?</p>