diff --git a/public/app/core/directives/plugin_component.ts b/public/app/core/directives/plugin_component.ts
index 94e50bf5c86..21900ce94ed 100644
--- a/public/app/core/directives/plugin_component.ts
+++ b/public/app/core/directives/plugin_component.ts
@@ -141,6 +141,17 @@ function pluginDirectiveLoader($compile, datasourceSrv, $rootScope, $q, $http, $
};
});
}
+ // AppConfigCtrl
+ case 'app-config-ctrl': {
+ return System.import(scope.ctrl.appModel.module).then(function(appModule) {
+ return {
+ name: 'app-config-' + scope.ctrl.appModel.appId,
+ bindings: {appModel: "=", appEditCtrl: "="},
+ attrs: {"app-model": "ctrl.appModel", "app-edit-ctrl": "ctrl"},
+ Component: appModule.ConfigCtrl,
+ };
+ });
+ }
// Panel
case 'panel': {
return loadPanelComponentInfo(scope, attrs);
diff --git a/public/app/features/apps/all.ts b/public/app/features/apps/all.ts
index 6f15e8b1bf6..fcdd27dff4d 100644
--- a/public/app/features/apps/all.ts
+++ b/public/app/features/apps/all.ts
@@ -1,3 +1,2 @@
import './edit_ctrl';
import './list_ctrl';
-import './config_view';
diff --git a/public/app/features/apps/config_view.ts b/public/app/features/apps/config_view.ts
deleted file mode 100644
index 31e85967cb2..00000000000
--- a/public/app/features/apps/config_view.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-///