You are tasked with optimizing an Angular application's load time. One strategy is to minimize the number of services that are eagerly loaded. Which technique can help achieve this?

  • Using 'ngFor' directive
  • Using 'ngIf' directive
  • Using the 'async' pipe
  • Using the 'providedIn' property
To minimize the number of services that are eagerly loaded in an Angular application, you can use the 'providedIn' property to specify that a service should be lazily loaded, which can improve load time.
Add your answer
Loading...

Leave a comment

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