Routing Flashcards
1
Q
What is a Router?
A
Router allows to route the view
2
Q
Why Router?
A
It enables developers to build Single Page Applications with multiple views.
Allow navigation between these views.
3
Q
What package is used?
A
@angular/router
4
Q
Which directive is used?
A
5
Q
What does the directive do?
A
The router inserts the component that gets matched
6
Q
What is path?
A
Path refers to part of the URL that determines an unique view that should be displayed.