export const some = angular.module('some , []);
export const app= angular.module(app, []);
import {app} from 'app';
import {some} from 'some';
// возможно ли сделать так, чтобы здесь
// установить зависимость модулю app?
import some from 'some';
import angular from 'angular';
export default angular.module('app', [
some.name
]);
class A {
[Inject]
public unit: IUnit;
constructor(){
}
}
class B {
public table: Table;
constructor(){
}
}
injector.inject(A).asInstence(Unit);
injector.inject(B).asSingleton(Table);