GeneralTabCtrl.ts 440 B

12345678910111213141516171819202122
  1. import coreModule from 'app/core/core_module';
  2. export class GeneralTabCtrl {
  3. panelCtrl: any;
  4. /** @ngInject */
  5. constructor($scope) {
  6. this.panelCtrl = $scope.ctrl;
  7. }
  8. }
  9. /** @ngInject */
  10. export function generalTab() {
  11. 'use strict';
  12. return {
  13. restrict: 'E',
  14. templateUrl: 'public/app/features/panel/partials/general_tab.html',
  15. controller: GeneralTabCtrl,
  16. };
  17. }
  18. coreModule.directive('panelGeneralTab', generalTab);