gibo gibo - 8 months ago 89
TypeScript Question

injector inside an angular2 decorator

I have been writing a custom method decorator in typescript for Angular2.

The decorator needs to have access to the 'ApplicationRef'.

Is it possible to inject into method decorators? If not, how else can i access the applicationRef?


After doing much research it doesn't seem that this is possible.