github.com/sym3tri/etcd@v0.2.1-0.20140422215517-a563d82f95d6/mod/dashboard/app/page/browser/node-info-ctrl.js (about)

     1  'use strict';
     2  
     3  angular.module('etcd.page')
     4  .controller('NodeInfoCtrl', function($scope, $modalInstance, _, node) {
     5  
     6    $scope.node = node;
     7  
     8    $scope.objectKeys = _.without(_.keys(node), 'value', '$$hashKey');
     9  
    10    $scope.identityFn = _.identity;
    11  
    12    $scope.close = function() {
    13      $modalInstance.dismiss('close');
    14    };
    15  
    16  });