You are on page 1of 5

Routing in Angular

Setting up routing in Angular


1 create new file in app routes.ts

In that

In app.module.ts
Setting up our links in the nav component

Using routing in our components


Protecting our routes with a route guard
. Protecting multiple routes with a single route guard using
dummy routes

You might also like