OCU Test Day 4 Review Flashcards

1
Q

Which flag tells Angular CLI that you want to add routing to your application?

A

–routing
as in,
ng new my-new-app –routing

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

What does the routerLink attribute do?

A

Creates a link to a PATH to a string, that, when clicked, navigates to that route.

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

Can pipes be used to specify locale?

A

Yes! ‘en-US’ or ‘fr-CA’ as we did in the Pipes lab

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