ulfryk / angular-typescript

TypeScript 1.7 annotations (decorators) for AngularJS 1.x

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use angular module in annotations implicitly

ulfryk opened this issue · comments

Could you put an example of how do you want to do that?

Sth like:

module MyModule {

  const atDecorators = at.getFor('myModule.name')

  export service = atDecorators.service
  export controller = atDecorators.controller

  … // ETC..

}