let myModule = angular.module('myModule ', [])
.controller('myController', myController);
export default myModule ;
import myModule from './my-module/my-module.module';
angular.module('app', ['myModule'])
import angular from 'angular';
import uiRouter from 'angular-ui-router';
import AppComponent from './app.component';
import ComponentsModule from './components/components.module';
import CommonModule from './common/common.module';
const AppModule = angular
.module('app', [
ComponentsModule,
CommonModule,
uiRouter
])
.component('app', AppComponent)
.name;
export default AppModule;