| 12345678910111213141516171819202122232425262728293031 |
- define([
- 'angular',
- './query_parameter_ctrl',
- ],
- function (angular) {
- 'use strict';
- var module = angular.module('grafana.directives');
- module.directive('metricQueryEditorCloudwatch', function() {
- return {controller: 'CloudWatchQueryCtrl', templateUrl: 'app/plugins/datasource/cloudwatch/partials/query.editor.html'};
- });
- module.directive('annotationsQueryEditorCloudwatch', function() {
- return {templateUrl: 'app/plugins/datasource/cloudwatch/partials/annotations.editor.html'};
- });
- module.directive('cloudwatchQueryParameter', function() {
- return {
- templateUrl: 'app/plugins/datasource/cloudwatch/partials/query.parameter.html',
- controller: 'CloudWatchQueryParameterCtrl',
- restrict: 'E',
- scope: {
- target: "=",
- datasourceName: "@",
- onChange: "&",
- }
- };
- });
- });
|