A

Admin • 832.27K Points
Coach

Q. How can you share data between two unrelated Angular components?

  • (A) Using a shared service
  • (B) Using @Input and @Output
  • (C) Using local variables
  • (D) Using DOM manipulation
  • Correct Answer - Option(A)
  • Views: 15
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

Services can act as data stores to share information across unrelated components.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.