angular-typescript icon indicating copy to clipboard operation
angular-typescript copied to clipboard

Use angular module in annotations implicitly

Open ulfryk opened this issue 10 years ago • 2 comments

ulfryk avatar Jul 02 '15 08:07 ulfryk

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

luisvt avatar Jul 11 '16 05:07 luisvt

Sth like:

module MyModule {

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

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

  … // ETC..

}

ulfryk avatar Jul 11 '16 05:07 ulfryk