Go ProSign in

Define an Angular Service

An Angular service is a simple ES2015 class with a decorator on top. In this lesson we take a look at the anatomy of a service, what the @Injectable decorator is about and why and when it is actually required.

You must be a Member to view code