title: angularjs routing, multiple paths
body: <p>I have the following set up:</p>
  
  <pre><code>var userSystemApp = angular.module("userSystem",['userServices','groupServices']).
      config(['$routeProvider', '$locationProvider', function($routeProvider, $locationProvider) {
          $routeProvider.
              when('/user', {templateUrl: 'user/partials/userlist.html',   controller: 'userListController'}).
              when('/user/:userName', {templateUrl: 'user/partials/userdetail.html', controller: 'userDetailController'}).
              when('/group',{templateUrl: 'group/partials/grouplist.html', controller: 'groupListController'}).
              when('/group/:groupName', {templateUrl: 'group/partials/groupDetail.html', controller: 'groupDetailController'}).
              otherwise({redirectTo: '/user'});
      }]);
  </code></pre>
  
  <p>When I go to localhost/#/user the groupListController is activated. 
  When I go to localhost/#/group the groupListController is activated but it uses the userlist.html partial template.</p>
  
  <p>Why isn't it using the proper controller?  Am I fundamentally using routing and templates improperly?  </p>
  
  <p>(side note, I have mod_rewrite taking rewriting the blank path to index.html)</p>