gibo gibo - 1 month ago 17
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

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