Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialTony Brackins
28,766 PointsUsing Services...
Why are we using a service here when the service isn't doing anything but logging to console?
Seems to me that we're placing these functions directly into the controller (which is a good thing because scope isn't available down there in the service)
1 Answer
Seth Kroger
56,413 PointsMuch like the service is used to get the todos from the website, it will also be used for saving and removing them from there as will. This requires having a backend in place to handle that which this course doesn't. The subsequent MEAN App course has you write one for this app and link it with through the service.
Tony Brackins
28,766 PointsTony Brackins
28,766 Pointsgot it thx!