/// <reference path="../../includes.ts"/>
/// <reference path="configPlugin.ts"/>
/// <reference path="configsHelper.ts"/>
/// <reference path="configsUtils.ts"/>
/// <reference path="configsDataService.ts"/>
module Configs{


    export var SystemCodeController = controller('SystemCodeController', ["$scope", "$templateCache", "$location", "$routeParams", "$http", "$timeout", 'ConfigsModel', 'NgTableParams',
        ($scope, $templateCache:ng.ITemplateCacheService, $location, $routeParams, $http, $timeout, ConfigsModel, NgTableParams) =>{        
        $scope.subTabConfig = createConfigHelperNavBar($scope, $location, $routeParams);       

        $scope.model = ConfigsModel;

        $scope.tableParams = new NgTableParams({count: 25}, {
	    	counts: [25, 50, 100],
      		dataset: $scope.model.systemInfo
   		});
    }]);
}