Add Signup Routing Feature

Let's set the routing for our signup component to access the signup form by appending /signup to our application link.

We can now create our first feature module to consume the signup method in our service.


First, we’ll create our signup module using the --routing flag to create a routing file for our module. Then, we’ll create the signup component.

ng g module signup --routing
ng g component signup

Get hands-on with 1200+ tech skills courses.