-
From a New Search, Select Index
-
+
+
+
-
-
Or, From a Saved Search
-
-
+
+
From a New Search, Select Index
+
+ >
+
+
+
Or, From a Saved Search
+
+
+
diff --git a/src/core_plugins/kibana/public/visualize/wizard/wizard.js b/src/core_plugins/kibana/public/visualize/wizard/wizard.js
index 98fb790a50264..0925c4e60142f 100644
--- a/src/core_plugins/kibana/public/visualize/wizard/wizard.js
+++ b/src/core_plugins/kibana/public/visualize/wizard/wizard.js
@@ -9,17 +9,14 @@ import RegistryVisTypesProvider from 'ui/registry/vis_types';
import uiModules from 'ui/modules';
import './wizard.less';
-const templateStep = function (num, txt) {
- return '
' + txt + '
';
-};
-
const module = uiModules.get('app/visualize', ['kibana/courier']);
/********
/** Wizard Step 1
/********/
routes.when('/visualize/step/1', {
- template: templateStep(1, require('plugins/kibana/visualize/wizard/step_1.html'))
+ template: require('plugins/kibana/visualize/wizard/step_1.html'),
+ controller: 'VisualizeWizardStep1',
});
module.controller('VisualizeWizardStep1', function ($scope, $route, kbnUrl, timefilter, Private) {
@@ -44,7 +41,8 @@ module.controller('VisualizeWizardStep1', function ($scope, $route, kbnUrl, time
/** Wizard Step 2
/********/
routes.when('/visualize/step/2', {
- template: templateStep(2, require('plugins/kibana/visualize/wizard/step_2.html')),
+ template: require('plugins/kibana/visualize/wizard/step_2.html'),
+ controller: 'VisualizeWizardStep2',
resolve: {
indexPatternIds: function (courier) {
return courier.indexPatterns.getIds();