In Angular, when you want to make sure that a service gets instantiated lazily, only when it is needed, you should use _____.

  • Eager instantiation
  • Lazy loading
  • On-demand service
  • Singleton
In Angular, to ensure that a service gets instantiated lazily, only when needed, you should use Lazy loading.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *