directives.js 316 B

12345678910111213
  1. define([
  2. 'angular',
  3. ],
  4. function (angular) {
  5. 'use strict';
  6. var module = angular.module('grafana.directives');
  7. module.directive('metricQueryEditorPrometheus', function() {
  8. return {controller: 'PrometheusQueryCtrl', templateUrl: 'app/plugins/datasource/prometheus/partials/query.editor.html'};
  9. });
  10. });