Routing Flashcards

1
Q

What is a Router?

A

Router allows to route the view

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why Router?

A

It enables developers to build Single Page Applications with multiple views.
Allow navigation between these views.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What package is used?

A

@angular/router

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which directive is used?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the directive do?

A

The router inserts the component that gets matched

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is path?

A

Path refers to part of the URL that determines an unique view that should be displayed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly