August 2017
Beginner to intermediate
370 pages
8h 37m
English
As an app starts getting complex, one needs to use routing concepts such as child routes, guards, resolvers, and so on. Defining complex routing definitions in AppModule would end up mixing different application concerns. In such scenarios, it is recommended to create a route definition in its own module. This module can be termed as routing module. This follows the separation of concerns design pattern in a sense that all the routing related concerns are handled as part of the routing module. The following needs to be done to define a routing module:
Read now
Unlock full access