Решил, мать его.
<a ui-sref="table({table_name: '{{table}}'})">{{table}}</a>
testApp.controller('SwitchTables', function($scope, mainContentService, $stateParams) {
$scope.gridOptions = {data: 'data'};
mainContentService.content($stateParams.table_name).success(function(data) {
$scope.data = data;
});
});