ngMock.type

Name Description angular.mock.TzDate NOTE: this is not an injectable instance, just a globally available mock class of Date. $rootScope.Scope Scope type decorated with helper methods useful for testing. These methods are automatically available on any Scope instance when ngMock module is loaded.

ngMock.provider

Name Description $exceptionHandlerProvider Configures the mock implementation of $exceptionHandler to rethrow or to log errors passed to the $exceptionHandler.

ngMockE2E.$httpBackend.whenPOST()

whenPOST(url, [data], [headers], [keys]); Creates a new backend definition for POST requests. For more info see when(). Parameters Param Type Details url stringRegExpfunction(string) HTTP url or function that receives a url and returns true if the url matches the current definition. data (optional) stringRegExp HTTP request body. headers (optional) Objectfunction(Object) HTTP headers. keys (optional) Array Array of keys to assign to regex matches in request url describe

ngRoute.$routeProvider.caseInsensitiveMatch

caseInsensitiveMatch A boolean property indicating if routes defined using this provider should be matched using a case insensitive algorithm. Defaults to false.

ngRoute.$route.current

current Object Reference to the current route definition. The route definition contains: controller: The controller constructor as defined in the route definition. locals: A map of locals which is used by $controller service for controller instantiation. The locals contain the resolved values of the resolve map. Additionally the locals also contain: $scope - The current route scope. $template - The current route template HTML. The locals will be assigned to the route scope's $resolve prope

ngMock.$httpBackend.whenPOST()

whenPOST(url, [data], [headers], [keys]); Creates a new backend definition for POST requests. For more info see when(). Parameters Param Type Details url stringRegExpfunction(string) HTTP url or function that receives a url and returns true if the url matches the current definition. data (optional) stringRegExpfunction(string) HTTP request body or function that receives data string and returns true if the data is as expected. headers (optional) Objectfunction(Object) HTTP hea

ngTouch.$touch.ngClickOverrideEnabled()

ngClickOverrideEnabled(); Returns * current value of ngClickOverrideEnabled set in the $touchProvider, i.e. if ngTouch's ngClick directive is enabled.

ngMessages.ngMessage

directive in module ngMessages ngMessage is a directive with the purpose to show and hide a particular message. For ngMessage to operate, a parent ngMessages directive on a parent DOM element must be situated since it determines which messages are visible based on the state of the provided key/value map that ngMessages listens on. More information about using ngMessage can be found in the ngMessages module documentation. Directive Info This directive creates new scope. This directive exe

auto

Implicit module which gets automatically added to each $injector. Module Components Service Name Description $injector $injector is used to retrieve object instances as defined by provider, instantiate types, invoke methods, and load modules. $provide The $provide service has a number of methods for registering components with the $injector. Many of these functions are also exposed on angular.Module.

$cacheFactory.Cache.destroy()

destroy(); Destroys the Cache object entirely, removing it from the $cacheFactory set.