Skip to content

Instantly share code, notes, and snippets.

View ewahner's full-sized avatar

Eric Wahner ewahner

View GitHub Profile
$scope.summary = function() {
services.aggList({
action: 'ConnectionAggs',
}, function(response, headers) {
$scope.serverData = response.servers;
var data = response.items;
$scope.numberOfItems = headers("X-Result-Count");
$scope.noOfPages = Math.ceil($scope.numberOfItems / $scope.pageSize);
if (response.error != null) {
$notification.error("System Error", response.error);
'use strict';
angular.module('ConnectionHistoryServices', ['ngResource'])
.service('shared', function($rootScope) {
var aggId = 0,
activeTab = 1,
broadcastChanges = function() {
$rootScope.$broadcast('SharedChange');
};
return {