[angular/di] include missing imports for angular dependencies
This commit is contained in:
parent
7f925dda72
commit
f5bdc1b73c
|
@ -3,6 +3,8 @@ import CourierDataSourceDocSendToEsProvider from 'ui/courier/data_source/_doc_se
|
|||
import CourierDataSourceAbstractProvider from 'ui/courier/data_source/_abstract';
|
||||
import CourierFetchRequestDocProvider from 'ui/courier/fetch/request/doc';
|
||||
import CourierFetchStrategyDocProvider from 'ui/courier/fetch/strategy/doc';
|
||||
import 'ui/es';
|
||||
import 'ui/storage';
|
||||
|
||||
export default function DocSourceFactory(Private, Promise, es, sessionStorage) {
|
||||
var sendToEs = Private(CourierDataSourceDocSendToEsProvider);
|
||||
|
|
|
@ -3,12 +3,14 @@ import angular from 'angular';
|
|||
import moment from 'moment';
|
||||
import dateMath from 'ui/utils/dateMath';
|
||||
import 'ui/state_management/global_state';
|
||||
import 'ui/config';
|
||||
import EventsProvider from 'ui/events';
|
||||
import UtilsDiffTimePickerValsProvider from 'ui/utils/diff_time_picker_vals';
|
||||
import TimefilterLibDiffTimeProvider from 'ui/timefilter/lib/diff_time';
|
||||
import TimefilterLibDiffIntervalProvider from 'ui/timefilter/lib/diff_interval';
|
||||
import uiRoutes from 'ui/routes';
|
||||
import uiModules from 'ui/modules';
|
||||
|
||||
uiRoutes
|
||||
.addSetupWork(function (timefilter) {
|
||||
return timefilter.init();
|
||||
|
@ -111,4 +113,3 @@ uiModules
|
|||
|
||||
return new Timefilter();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue