$cacheFactory.get()

get(cacheId); Get access to a cache object by the cacheId used when it was created. Parameters Param Type Details cacheId string Name or id of a cache to access. Returns object Cache object identified by the cacheId or undefined if no such cache.

ngMock.$interval

service in module ngMock Mock implementation of the $interval service. Use $interval.flush(millis) to move forward by millis milliseconds and trigger any functions scheduled to run in that time. Usage $interval(fn, delay, [count], [invokeApply], [Pass]); Arguments Param Type Details fn function() A function that should be called repeatedly. delay number Number of milliseconds between each function call. count (optional) number Number of times to repeat. If not set, or 0,

$http.put()

put(url, data, [config]); Shortcut method to perform PUT request. Parameters Param Type Details url string Relative or absolute URL specifying the destination of the request data * Request content config (optional) Object Optional configuration object Returns HttpPromise Future object

$sce.parseAsHtml()

parseAsHtml(expression); Shorthand method. $sce.parseAsHtml(expression string) â $sce.parseAs($sce.HTML, value) Parameters Param Type Details expression string String expression to compile. Returns function(context, locals) a function which represents the compiled expression: context â {object} â an object against which any expressions embedded in the strings are evaluated against (typically a scope object). locals â {object=} â local variables context object, useful

ngCookies

Installation First include angular-cookies.js in your HTML: <script src="angular.js"> <script src="angular-cookies.js"> You can download this file from the following places: Google CDN e.g. //ajax.googleapis.com/ajax/libs/angularjs/X.Y.Z/angular-cookies.js Bower e.g. bower install angular-cookies@X.Y.Z code.angularjs.org e.g. "//code.angularjs.org/X.Y.Z/angular-cookies.js" where X.Y.Z is the AngularJS version you are running. Then load the module in your application by addin

$templateRequestProvider

$templateRequest provider in module ng Used to configure the options passed to the $http service when making a template request. For example, it can be used for specifying the "Accept" header that is sent to the server, when requesting a template. Methods httpOptions([value]); The options to be passed to the $http service when making the request. You can use this to override options such as the "Accept" header for template requests. The $templateRequest will set the cache and the tra

$sceDelegate.valueOf()

valueOf(value); If the passed parameter had been returned by a prior call to $sceDelegate.trustAs, returns the value that had been passed to $sceDelegate.trustAs. If the passed parameter is not a value that had been returned by $sceDelegate.trustAs, returns it as-is. Parameters Param Type Details value * The result of a prior $sceDelegate.trustAs call or anything else. Returns * The value that was originally provided to $sceDelegate.trustAs if value is the result of such a call. Othe

$sce.parseAs()

parseAs(type, expression); Converts Angular expression into a function. This is like $parse and is identical when the expression is a literal constant. Otherwise, it wraps the expression in a call to $sce.getTrusted(type, result) Parameters Param Type Details type string The kind of SCE context in which this result will be used. expression string String expression to compile. Returns function(context, locals) a function which represents the compiled expression: context â {o

$compile.directive.Attributes.$observe()

$observe(key, fn); Observes an interpolated attribute. The observer function will be invoked once during the next $digest following compilation. The observer is then invoked whenever the interpolated value changes. Parameters Param Type Details key string Normalized key. (ie ngAttribute) . fn function(interpolatedValue) Function that will be called whenever the interpolated value of the attribute changes. See the Interpolation guide for more info. Returns function() Returns a d

form.FormController.$setSubmitted()

$setSubmitted(); Sets the form to its submitted state.