Replaced the mock service in the controllers unit test spec file with a bare jasmine spy.