title: Angular-route can't find views
body: <p>This is my angular app-file where i add my routing:</p>
  
  <pre><code>(function() {
  var app = angular.module("CustCMS", ["ngRoute"]);
  
  app.config(function ($routeProvider) {
      $routeProvider
          .when("/Index", {
              templateUrl: "~/CustCMS/Views/User/Index.html",
              controller: "IndexController"
          })
          .when("/User/:userid", {
              templateUrl: "~/CustCMS/Views/User/User.html",
              controller: "UserController"
          })
          .otherwise({ redirectTo: "/Index" });
  });
  }());
  </code></pre>
  
  <p>I have tried some different ways to enter the templateUrl but i always get this error:</p>
  
  <pre><code> [$compile:tpload] Failed to load template: ~/CustCMS/Views/User/Index.html (HTTP status: 404 Not Found)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/6UlFn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6UlFn.png" alt="enter image description here"></a></p>
  
  <p>What do i have to enter for the templateUrl to find my views?</p>