diff --git a/public/app/core/routes/all.js b/public/app/core/routes/all.js
index bc71a63a094..d9726ee782c 100644
--- a/public/app/core/routes/all.js
+++ b/public/app/core/routes/all.js
@@ -115,6 +115,7 @@ define([
.when('/admin/stats', {
templateUrl: 'app/features/admin/partials/stats.html',
controller : 'AdminStatsCtrl',
+ controllerAs: 'ctrl',
})
.when('/login', {
templateUrl: 'app/partials/login.html',
diff --git a/public/app/features/admin/adminStatsCtrl.js b/public/app/features/admin/adminStatsCtrl.js
deleted file mode 100644
index 217429d1253..00000000000
--- a/public/app/features/admin/adminStatsCtrl.js
+++ /dev/null
@@ -1,24 +0,0 @@
-define([
- 'angular',
-],
-function (angular) {
- 'use strict';
-
- var module = angular.module('grafana.controllers');
-
- module.controller('AdminStatsCtrl', function($scope, backendSrv) {
-
- $scope.init = function() {
- $scope.getStats();
- };
-
- $scope.getStats = function() {
- backendSrv.get('/api/admin/stats').then(function(stats) {
- $scope.stats = stats;
- });
- };
-
- $scope.init();
-
- });
-});
diff --git a/public/app/features/admin/adminStatsCtrl.ts b/public/app/features/admin/adminStatsCtrl.ts
new file mode 100644
index 00000000000..0331524dcc7
--- /dev/null
+++ b/public/app/features/admin/adminStatsCtrl.ts
@@ -0,0 +1,18 @@
+//