ANGULAR - Study24x7
Social learning Network
angular Cover image
angular
ANGULAR
  • Followers
  • Latest Feeds
  • Articles
  • Question
  • Course
  • About
  • Review
Interests
Mobile Technologies Computer Programming Web Development Scripts
See more
6 followers study24x7 02 Aug 2023 11:07 AM study24x7 study24x7

In Angular, what does the "ngFor" directive do?

A

It creates a new instance of a component for each item in a collection.

B

It binds data from a component to an HTML template.

C

It allows creating and managing forms in Angular applications.

D

It iterates over a collection and generates HTML elements for each item.

study24x7
Write a comment
6 followers study24x7 21 Jul 2021 12:13 PM study24x7 study24x7

Which of the folloing component lifecycle hook executes before ngOnInit() lifecycle hook

A

ngAfterContentInit()

B

ngAfterViewInit()

C

ngOnChanges()

D

ngDoCheck()

E

ngAfterViewChecked()

study24x7
Write a comment
6 followers study24x7 21 Jul 2021 11:55 AM study24x7 study24x7

Which of the following angular CLI command is used to create a new component in an angular project.

A

ng generate component <component-name>

B

ng create component <component-name>

C

ng g c <component-name>

D

ng c c <component-name>

study24x7
Write a comment
6 followers study24x7 16 Jun 2021 11:17 AM study24x7 study24x7

What is Angular in web development?

A

Client side web development scripting language

B

Server side web development scripting language

C

Client side web development framework.

D

Server side web development framework.

study24x7
Write a comment
About
Ratings
5.0
out of 5
2 Ratings
5 study24x7
 
2.0
4 study24x7
 
0.0
3 study24x7
 
0.0
2 study24x7
 
0.0
1 study24x7
 
0.0
Related Pages