app-routing | Introduction to the angular router |
- How to use the router directives by importing the router module
- How to configure the router using
provideRouter
inapp.config
- We created a navigation bar using the
RouterLink
directive instead ofhref
- We saw how to pass parameters to a routed component using the
ActivatedRoute
service and theparams
property. - We saw how to use
queryParams
with the angular router. - We saw how to use RxJS to create a component that responds to parameters change
- We saw how to create a guard that communicates with the authentication service to prevent entering a page without login in first
- We saw how to make the guard and authentication service, play together to allow redirecting to the desired page after login