@define()
@singleton()
@lazy()
class BarManager{
get name(){return 'bar'; }
}
@define()
class BuzzController{
@lazy() barManager:BarManager
get name () {return this.barManager.name}
}
let buzzController = injector.get(BuzzController);
console.log(buzzController.name)