As you can see previously, it’s a very simple component. Now is necessary to add the component to the application to render it. And here, the Angular Router is very useful. On the app.component.html, we are going to add a router outlet
Manual change on the app.component.html of the migrated application
Now in the AppModule, we are going to add the Routes and the created component
Modify the AppModule to use the Angular Routing and add a route for the new component
From here, we need to display the frmNoWebMapComponent using the routing.
Then we are going to add button to redirect to the route of the Form. This routing mechanism can be added from any existing migrated component.
Adding a button to route to the added component
And with this, at clicking at the button, the frmNoWebMapComponent will be displayed.