Question: lazy loading undefined is not a function?
Answer: The error 'TypeError: undefined is not a function' is quite misleading. Solution: This error is actually caused due to the circular dependency of module injection which arises when you import the lazy load intended module in your parent module as mentioned in many many articles you might have come across.