routing Flashcards

1
Q

how do you generate a component?

A

ng generate component componentName

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

How do you create an anchor tag?

A

<a>text</a>

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

Why do we use angular routing?

A

To facilitate navigation by telling the browser to use a specific URL to change the view rather than going to the server to retrieve a new page.

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

How do you generate a service?

A

ng generate service serviceName

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