title: Express loads controller infinit times and browser windows crashes when I use subpath
body: <p>I'm currently working with angularJS and I try to build a homepage. My routeconfig looks like this:</p>
  
  <pre><code>var app = angular.module('mml-annie', ['mmlServices']);
  
  app.config(['$locationProvider', function($location) {
    $location.html5Mode(true); //now there won't be a hashbang within URLs for browers that     support HTML5 history
  }]);
  
  app.config(['$routeProvider', function($routeProvider) {
  $routeProvider.
  when('/team', {
      templateUrl: 'partials/team', 
      controller: TeamCtrl
  }).
  
  otherwise({
          redirectTo: '/home'
      });
  }]);
  </code></pre>
  
  <p>For testing purposes my controler looks like this: </p>
  
  <pre><code>function TeamCtrl($scope, Team) {
  
  console.log("TEST");
  }
  </code></pre>
  
  <p>Everything I working fine except when my path get additions / fields. When I change <code>"/team"</code> to <code>"/team/team/test"</code> my app calls the controller until the app crashes. Not using html5 mode fixes the problem. But I would rather use the nice HTML5 mode without the hashbang.</p>
  
  <p>The app runs on <code>node.js</code> with express which serves the angular app for all requests except API calls.</p>
  
  <p>Do you have any idea what is happening? I have no clue...<br>
  Of course I can provide further information if needed.</p>