title: Get controller in use in main controller
body: <pre><code>    .when('/',{
          controller : 'mainCtrl'
      })
  
      .when('/worker/:id',{
          controller : 'workerCtrl'
      })
  
      .when('/boss/:id/',{
          controller : 'bossCtrl'
      })
  
  app.controller('mainCtrl', function(){
      // $scope.selected = 
  })
  </code></pre>
  
  <p>How to know which controller is in use in my mainCtrl? so that I can set <code>$scope.selected = 'boss'</code>or<code>$scope.selected = 'worker'.</code> </p>