mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 12:44:10 -06:00
27f66a6df9
* moving coreModule to app/angular and isolating it more * fixed ts issue
19 lines
480 B
TypeScript
19 lines
480 B
TypeScript
import angular from 'angular';
|
|
|
|
const coreModule = angular.module('grafana.core', ['ngRoute']);
|
|
|
|
// legacy modules
|
|
const angularModules = [
|
|
coreModule,
|
|
angular.module('grafana.controllers', []),
|
|
angular.module('grafana.directives', []),
|
|
angular.module('grafana.factories', []),
|
|
angular.module('grafana.services', []),
|
|
angular.module('grafana.filters', []),
|
|
angular.module('grafana.routes', []),
|
|
];
|
|
|
|
export { angularModules, coreModule };
|
|
|
|
export default coreModule;
|