ngComponentRouter.RouteDefinition

type in module ngComponentRouter Each item in a the RouteConfig for a Routing Component is an instance of this type. It can have the following properties: path or (regex and `serializer) - defines how to recognize and generate this route component, loader, redirectTo (requires exactly one of these) name - the name used to identify the Route Definition when generating links data (optional)

ngCsp

directive in module ng Angular has some features that can break certain CSP (Content Security Policy) rules. If you intend to implement these rules then you must tell Angular not to use these features. This is necessary when developing things like Google Chrome Extensions or Universal Windows Apps. The following rules affect Angular: unsafe-eval: this rule forbids apps to use eval or Function(string) generated functions (among other things). Angular makes use of this in the $parse service

ngMock.$httpBackend.verifyNoOutstandingRequest()

verifyNoOutstandingRequest(); Verifies that there are no outstanding requests that need to be flushed. Typically, you would call this method following each test case that asserts requests using an "afterEach" clause. afterEach($httpBackend.verifyNoOutstandingRequest);

Guide: Running in Production

There are a few things you might consider when running your AngularJS application in production. Disabling Debug Data By default AngularJS attaches information about binding and scopes to DOM nodes, and adds CSS classes to data-bound elements: As a result of ngBind, ngBindHtml or {{...}} interpolations, binding data and CSS class ng-binding are attached to the corresponding element. Where the compiler has created a new scope, the scope and either ng-scope or ng-isolated-scope CSS class are a

ng.function

Name Description angular.forEach Invokes the iterator function once for each item in obj collection, which can be either an object or an array. The iterator function is invoked with iterator(value, key, obj), where value is the value of an object property or an array element, key is the object property key or array element index and obj is the obj itself. Specifying a context for the function is optional. angular.extend Extends the destination object dst by copying own enumerable properties

ngMockE2E.$httpBackend

service in module ngMockE2E Fake HTTP backend implementation suitable for end-to-end testing or backend-less development of applications that use the $http service. Note: For fake http backend implementation suitable for unit testing please see unit-testing $httpBackend mock. This implementation can be used to respond with static or dynamic responses via the when api and its shortcuts (whenGET, whenPOST, etc) and optionally pass through requests to the real $httpBackend for specific reques

ngCookies.$cookies.get()

get(key); Returns the value of given cookie key Parameters Param Type Details key string Id to use for lookup. Returns string Raw cookie value.

$cacheFactory.info()

info(); Get information about all the caches that have been created Returns Object key-value map of cacheId to the result of calling cache#info

$sce.getTrustedCss()

getTrustedCss(value); Shorthand method. $sce.getTrustedCss(value) â $sceDelegate.getTrusted($sce.CSS, value) Parameters Param Type Details value * The value to pass to $sce.getTrusted. Returns * The return value of $sce.getTrusted($sce.CSS, value)