On this page i will show you the code you will need to create a simple basic service in angular.

What is a Service?

If you are familiar with javascript, a services is just a function. So whats the diffrences between a service and a function.

Simple - A service is just a function inside a class

wow! that simple right?

To start, lets create a new quickstart project. if you dont know what a quickstart is, google it, its just a pre-built app in angular. If you have Angular CLI its very easy.

Ok, assuming you have built a quickstart app, lets begin by watching this video