Open Andrew-He opened 6 years ago
I have a component which inject applicationRef in the constructor, constructor(private applicationRef: ApplicationRef); after I put it into component Lab, applicationRef is undefined when debugging.
constructor(private applicationRef: ApplicationRef)
Can someone let me know why it happens.
Thanks
I have a component which inject applicationRef in the constructor,
constructor(private applicationRef: ApplicationRef)
; after I put it into component Lab, applicationRef is undefined when debugging.Can someone let me know why it happens.
Thanks