Question · Angular course · Module 1: Introduction to Angular

The role of services

What are services used for in Angular?

Answer options

  • To define the application's colors and styles
  • To hold business logic shared between components
  • To install npm packages
  • Exclusively to render HTML headings
Show the answer

Correct answer:

  • To hold business logic shared between components