Configure Your First Angular Route

Using the Angular router requires defining routes, passing them in to the RouterModule.forRoot and then importing the configured RouterModule into your main App Module.

Please take a moment to tell your friends:

You must be a PRO Member to view code