Angular 8 Interview Questions and Answers
Question: What are Angular services and why are they used?Answer: Services in Angular are singleton objects that provide functionality across the application. They are used to encapsulate and share logic, data, or functionality between components. Services promote modularity and reusability in Angular applications.Example:
|
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users: