Refactored panel communication to use an angular service, started work on panel editing interface

This commit is contained in:
Rashid Khan
2013-02-07 15:05:55 -07:00
parent 085b688850
commit ee65f81a2b
18 changed files with 178 additions and 75 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
'use strict';
angular.module('kibana.controllers', [])
.controller('DashCtrl', function($scope, ejsResource) {
.controller('DashCtrl', function($scope, $rootScope, ejsResource) {
$scope.config = config;
$scope.dashboards = dashboards
@@ -14,7 +14,7 @@ angular.module('kibana.controllers', [])
$scope.$broadcast('toggle_row',row)
row.collapse = row.collapse ? false : true;
}
});