Services
Lesson 1 of 1
  1. 1

    So far we’ve made AngularJS apps by adding data to a controller, and then displaying it in a view. But what happens when the data contains hundreds of items, or if it’s constantly changing like we…

  2. 2

    Well done! The […] now shows up in the view. How does it work? 1. First in js/services/forecast.js, we made a new service. We used […] to create a new service named […] 2. The [….

  3. 3

    Why are services useful? Instead of filling the controller with code to fetch weather data from a server, it’s better to move this independent logic into a service so that it can be reused by othe…

What you'll create

Portfolio projects that showcase your new skills

Pro Logo

How you'll master it

Stress-test your knowledge with quizzes that help commit syntax to memory

Pro Logo