bansho/app/components/tactical/status_overview/status_overview.js
2015-02-03 13:51:33 -05:00

23 lines
563 B
JavaScript

'use strict';
angular.module('adagios.tactical.status_overview', ['ngRoute' ])
.controller('TacticalStatusOverViewCtrl', ['$scope', '$http', function ($scope, $http) {
$scope.hosts = {
"count": 104,
"problems": 14
};
$scope.services = {
"count": 1126,
"problems": 42
};
}])
.directive('adgStatusOverview', function () {
return {
restrict: 'E',
templateUrl: 'components/tactical/status_overview/status_overview.html'
};
});