gibo gibo - 10 months ago 96
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?

Answer Source

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