Professional Documents
Culture Documents
Ngfor: A. B. C. D. A. B. C. D
Ngfor: A. B. C. D. A. B. C. D
Q 2. A
class wants to use a service. Where do you define the
dependency for the injected service?
A. In the class signature
B. In the class constructor
C. In the component decorator
D. In the Import statement
Q 3. Interfaces are a feature of:
A. ES 2015
B. ES 5
C. Angular
D. TypeScript
Q 4. Whichof the following is correct syntax for
the ngFordirective?
A. *ngFor='let product in products'
B. *ngFor='let product of products'
C. *ngFor=let product in products
D. ngFor=let product of products