Browse Source

added @ngInject

Patrick O'Carroll 7 years ago
parent
commit
6719bdf9bd
1 changed files with 2 additions and 0 deletions
  1. 2 0
      public/app/core/directives/metric_segment.ts

+ 2 - 0
public/app/core/directives/metric_segment.ts

@@ -2,6 +2,7 @@ import _ from 'lodash';
 import $ from 'jquery';
 import $ from 'jquery';
 import coreModule from '../core_module';
 import coreModule from '../core_module';
 
 
+/** @ngInject */
 export function metricSegment($compile, $sce) {
 export function metricSegment($compile, $sce) {
   let inputTemplate =
   let inputTemplate =
     '<input type="text" data-provide="typeahead" ' +
     '<input type="text" data-provide="typeahead" ' +
@@ -182,6 +183,7 @@ export function metricSegment($compile, $sce) {
   };
   };
 }
 }
 
 
+/** @ngInject */
 export function metricSegmentModel(uiSegmentSrv, $q) {
 export function metricSegmentModel(uiSegmentSrv, $q) {
   return {
   return {
     template:
     template: