| 1. |
What Is The For Root Method? |
|
Answer» The for Root is a static method and it’s very easy for DEVELOPERS to configure the MODULES and the best EXAMPLE is – RouterModule.for Root. The Router MODULE also offers a for Child. It’s also a static method and use to configure the routes of lazy-loaded modules. The for Root and for Child are the traditional NAMES for methods that configure services in root. The for Root is a static method and it’s very easy for developers to configure the modules and the best example is – RouterModule.for Root. The Router Module also offers a for Child. It’s also a static method and use to configure the routes of lazy-loaded modules. The for Root and for Child are the traditional names for methods that configure services in root. |
|