#this only defined in constructor

1 messages · Page 1 of 1 (latest)

wicked lodge
#

I made a new service that injects another service in the constructor. When I console log this in the constructor it has a value, but once I call one of the methods in my service, this is undefined. What gives?

fresh horizon
#

Hi I encourage you to provide a Stackblitz example reproducing it, we can't help without code.