began work on graphite target editor

This commit is contained in:
Torkel Ödegaard
2013-12-17 22:53:31 +01:00
parent 591846c8b9
commit 56b3443268
8 changed files with 73 additions and 22 deletions
+25
View File
@@ -0,0 +1,25 @@
define([
'angular',
],
function (angular) {
'use strict';
var module = angular.module('kibana.controllers');
module.controller('GraphiteTargetCtrl', function($scope) {
$scope.init = function() {
console.log('target:', $scope.target);
};
$scope.targetChanged = function() {
$scope.$parent.get_data();
$scope.editMode = false;
};
$scope.edit = function() {
$scope.editMode = true;
};
});
});