angular.mock

Work in Progress This page is currently being revised. It might be incomplete or contain inaccuracies.

The angular.mock object is a namespace for all built-in mock services that ship with angular. It automatically replaces real services if the angular-mocks.js file is loaded after angular.js and before any tests.

Built-in mocks: