Check out a free preview of the full AngularJS 1.x Application Development course:
The "Testing Services" Lesson is part of the full, AngularJS 1.x Application Development course featured in this preview video. Here's what you'd learn in this lesson:

Lukas spends a few minutes explaining how he tests services using mock objects. He then answers a few audience questions about using a factory vs. a service.

Get Unlimited Access Now