$interval.cancel()

cancel([promise]); Cancels a task associated with the promise. Parameters Param Type Details promise (optional) Promise returned by the $interval function. Returns boolean Returns true if the task was successfully canceled.

$interpolateProvider.startSymbol()

startSymbol([value]); Symbol to denote start of expression in the interpolated string. Defaults to {{. Parameters Param Type Details value (optional) string new value to set the starting symbol to. Returns stringself Returns the symbol when used as getter and self if used as setter.

$interpolateProvider.endSymbol()

endSymbol([value]); Symbol to denote the end of expression in the interpolated string. Defaults to }}. Parameters Param Type Details value (optional) string new value to set the ending symbol to. Returns stringself Returns the symbol when used as getter and self if used as setter.

$interpolateProvider

$interpolate provider in module ng Used for configuring the interpolation markup. Defaults to {{ and }}. This feature is sometimes used to mix different markup languages, e.g. to wrap an Angular template within a Python Jinja template (or any other template language). Mixing templating languages is very dangerous. The embedding template language will not safely escape Angular expressions, so any user-controlled values in the template will cause Cross Site Scripting (XSS) security bugs!

$interpolate.startSymbol()

startSymbol(); Symbol to denote the start of expression in the interpolated string. Defaults to {{. Use $interpolateProvider.startSymbol to change the symbol. Returns string start symbol.

$interpolate.endSymbol()

endSymbol(); Symbol to denote the end of expression in the interpolated string. Defaults to }}. Use $interpolateProvider.endSymbol to change the symbol. Returns string end symbol.

$httpProvider.useLegacyPromiseExtensions()

useLegacyPromiseExtensions([value]); Configure $http service to return promises without the shorthand methods success and error. This should be used to make sure that applications work without these methods. Defaults to true. If no value is specified, returns the current configured value. Parameters Param Type Details value (optional) boolean If true, $http will return a promise with the deprecated legacy success and error methods. Returns booleanObject If a value is specified, ret

$httpProvider.useApplyAsync()

useApplyAsync([value]); Configure $http service to combine processing of multiple http responses received at around the same time via $rootScope.$applyAsync. This can result in significant performance improvement for bigger applications that make many HTTP requests concurrently (common during application bootstrap). Defaults to false. If no value is specified, returns the current configured value. Parameters Param Type Details value (optional) boolean If true, when requests are loaded, t

$httpProvider.interceptors

interceptors Array containing service factories for all synchronous or asynchronous $http pre-processing of request or postprocessing of responses. These service factories are ordered by request, i.e. they are applied in the same order as the array, on request, but reverse order, on response. Interceptors detailed info

$httpProvider.defaults

defaults Object containing default values for all $http requests. defaults.cache - {boolean|Object} - A boolean value or object created with $cacheFactory to enable or disable caching of HTTP responses by default. See $http Caching for more information. defaults.xsrfCookieName - {string} - Name of cookie containing the XSRF token. Defaults value is 'XSRF-TOKEN'. defaults.xsrfHeaderName - {string} - Name of HTTP header to populate with the XSRF token. Defaults value is 'X-XSRF-TOKEN'. d