What is the purpose of using forRoot in NgModule?
Is it same as the providers in AngularJS 1.x?
How does it play the significant role in lazy loading?
TI
From the docs
forRoot creates a module that contains all the directives, the given routes, and the router service itself.
You can read more on why is it used from here