title: How to set in angularjs templateUrl to location.pathname in otherwise clause
body: <p>I'm new to angularjs and want to integrate it in a cakephp app. For some pages I don't have a controller since no javascript is exectuted there or because I still have to create them. I however don't want to list them all in the routes. For this reason i set it like the following:</p>
  
  <pre><code>angular.module('desktop', []).
    config(['$routeProvider', '$locationProvider', function($routeProvider, $locationProvider) {
        $locationProvider.html5Mode(true);
  
    $routeProvider
      .when('/', {templateUrl: 'pages/index',   controller: IndexController})
      .when('/clubs', {templateUrl: 'partials/clubs.html',controller: ClubListController})
      .otherwise({templateUrl: location.pathname});
  }]);
  </code></pre>
  
  <p>This is however not working. When I go to /help, nothing happens. What am i doing wrong?</p>