From the course: Angular: Creating and Hosting a Full-Stack Site

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Services in Angular

Services in Angular

From the course: Angular: Creating and Hosting a Full-Stack Site

Start my 1-month free trial

Services in Angular

- [Instructor] So at this point in our app, we have a fully functioning front end and we have a fully functioning back end. What we need to do now is link them up. And that's what we'll be doing over the course of the next few videos. Now, there are a few tools and tricks to getting this sort of front end, back end communication to work properly, but before we get into all of those, we're going to take a look at something called services in Angular. Basically Angular services are like Angular components, except they don't have any corresponding HTML that gets rendered on the page. So then if services aren't rendered to the page, what exactly do we use them for? Well, the main thing that we're going to be using services for in this course is as a place to put the logic for communicating with our server. You see, the way that we have our front end set up now, all of our components are only displaying fake data. For…

Contents