1

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?

gibo
  • 527
  • 2
  • 5
  • 22
  • Possible duplicate of [Storing injector instance for use in components](http://stackoverflow.com/questions/39409328/storing-injector-instance-for-use-in-components) – Estus Flask Oct 20 '16 at 18:13

1 Answers1

0

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

gibo
  • 527
  • 2
  • 5
  • 22