A

Admin • 825.56K Points
Coach

Q. What does the `selector` property in `@Component` specify?

  • (A) The HTML tag used to represent the component
  • (B) The CSS class of the component
  • (C) The template file path
  • (D) The service injected
  • Correct Answer - Option(A)
  • Views: 10
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
The `selector` tells Angular which HTML element represents the component.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.