title: many controller for state in ui-router
body: <p>how to add many controller for state in ui-router ?</p>
  
  <p>I have searched long and hard but found nothing that helped yet. Where I wrong? I really do not know what to do. I wrote all the details below. I've tried and did not succeed.</p>
  
  <pre><code>angular.module('uiRouterApp.typeNews', [
          'uiRouterApp.typeNews.Service',
          'ui.router'
      ])
      .config(
          [
              '$stateProvider', '$urlRouterProvider',
              function($stateProvider, $urlRouterProvider) {
                  $stateProvider
                      .state('detail', {
                          url: '/typeNews/detail/typeNewsId=:typeNewsId',
                          templateUrl: '/Scripts/ui-route/typeNews/typeNews.detail.html',
                          controller: [
                              '$scope', '$stateParams', '$state', 'typeNewsService',
                              function($scope, $stateParams, $state, typeNewsService) {
                                  typeNewsService.readTypeNews($stateParams.typeNewsId)
                                      .success(function(data, status, headers, config) {
                                          $scope.typeNews = data;
                                      });
                              }
                          ]
                      })
                      .state('typeNews', {
                          url: '/typeNews/PageSize=:PageSize/PageIndex=:PageIndex',
                          templateUrl: '/Scripts/ui-route/typeNews/typeNews.html',
                          controller: 'pagerCtrl'// need two many controller like controller: 'pagerCtrl' , 'gridCtrl'
                      });
              }
          ]
      );
  </code></pre>