aggregation-platform/plugins/system/ts/regionalismCodeSearch.ts

21 lines
807 B
TypeScript

/// <reference path="../../includes.ts"/>
/// <reference path="systemPlugin.ts"/>
/// <reference path="systemHelpers.ts"/>\
/// <reference path="../../configs/ts/configsDataService.ts"/>
module System{
export var RegionalismCodeController = controller('RegionalismCodeController', ["$scope", "$templateCache", "$location", "$routeParams", "$http", "$timeout", 'SystemModel', 'NgTableParams',
($scope, $templateCache:ng.ITemplateCacheService, $location, $routeParams, $http, $timeout, SystemModel, NgTableParams) =>{
shareInit($scope);
$scope.model = SystemModel;
//console.log($scope.model.regionalismInfo);
$scope.tableParams = new NgTableParams({count: 25}, {
counts: [25, 50, 100],
dataset: $scope.model.regionalismInfo
});
}]);
}