TB-38: Implement timeseries table widget. (#41)

This commit is contained in:
Igor Kulikov 2017-01-29 17:25:30 +02:00 committed by GitHub
parent d3ffde5dee
commit 10cbc9692a
2 changed files with 7 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -18,7 +18,7 @@ import $ from 'jquery';
/* eslint-disable angular/angularelement */
/*@ngInject*/
export default function WidgetController($scope, $timeout, $window, $element, $q, $log, types, visibleRect,
export default function WidgetController($scope, $timeout, $window, $element, $q, $log, $injector, types, visibleRect,
datasourceService, deviceService, isPreview, widget, deviceAliasList, fns) {
var vm = this;
@ -67,6 +67,7 @@ export default function WidgetController($scope, $timeout, $window, $element, $q
$scope.$timeout = $timeout;
$scope.$q = $q;
$scope.$injector = $injector;
$scope.rpcRejection = null;
$scope.rpcErrorText = null;