From the course: Angular: Creating and Hosting a Full-Stack Site
Unlock the full course today
Join today to access over 24,500 courses taught by industry experts.
Services in Angular
From the course: Angular: Creating and Hosting a Full-Stack Site
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Services in Angular5m 53s
-
(Locked)
RxJS and the Angular HttpClient4m 59s
-
(Locked)
Avoid CORS errors4m 10s
-
(Locked)
Connect the Listing Detail page8m 57s
-
(Locked)
Connect the My Listings page4m 34s
-
(Locked)
Connect the New Listing page4m 2s
-
(Locked)
Connect the Edit Listing page4m 30s
-
(Locked)
-
-
-