/// <reference path="../../includes.ts"/>
/// <reference path="systemPlugin.ts"/>
/// <reference path="systemHelpers.ts"/>
module System{

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

        shareInit($scope);

        $scope.model = SystemModel;

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