ngCookies.$cookies.remove()

remove(key, [options]); Remove given cookie Parameters Param Type Details key string Id of the key-value pair to delete. options (optional) Object Options object. See $cookiesProvider.defaults

$xhrFactory

service in module ng Factory function used to create XMLHttpRequest objects. Replace or decorate this service to create your own custom XMLHttpRequest objects. angular.module('myApp', []) .factory('$xhrFactory', function() { return function createXhr(method, url) { return new window.XMLHttpRequest({mozSystem: true}); }; }); Usage $xhrFactory(method, url); Arguments Param Type Details method string HTTP method of the request (GET, POST, PUT, ..) url string URL of the r

$compile.directive.Attributes.$attr

$attr A map of DOM element attribute names to the normalized name. This is needed to do reverse lookup from normalized name back to actual name.

$location.url()

url([url]); This method is getter / setter. Return url (e.g. /path?a=b#hash) when called without any parameter. Change path, search and hash, when called with parameter and return $location. // given url http://example.com/#/some/path?foo=bar&baz=xoxo var url = $location.url(); // => "/some/path?foo=bar&baz=xoxo" Parameters Param Type Details url (optional) string New url without base prefix (e.g. /path?a=b#hash) Returns string url

$compile.directive.Attributes.$normalize()

$normalize(name); Converts an attribute name (e.g. dash/colon/underscore-delimited string, optionally prefixed with x- or data-) to its normalized, camelCase form. Also there is special case for Moz prefix starting with upper case letter. For further information check out the guide on Matching Directives Parameters Param Type Details name string Name to normalize

$location.state()

state([state]); This method is getter / setter. Return the history state object when called without any parameter. Change the history state object when called with one parameter and return $location. The state object is later passed to pushState or replaceState. NOTE: This method is supported only in HTML5 mode and only in browsers supporting the HTML5 History API (i.e. methods pushState and replaceState). If you need to support older browsers (like IE9 or Android < 4.0), don't use this met

$compile.directive.Attributes.$updateClass()

$updateClass(newClasses, oldClasses); Adds and removes the appropriate CSS class values to the element based on the difference between the new and old CSS class values (specified as newClasses and oldClasses). Parameters Param Type Details newClasses string The current CSS className value oldClasses string The former CSS className value

$location.absUrl()

absUrl(); This method is getter only. Return full url representation with all segments encoded according to rules specified in RFC 3986. // given url http://example.com/#/some/path?foo=bar&baz=xoxo var absUrl = $location.absUrl(); // => "http://example.com/#/some/path?foo=bar&baz=xoxo" Returns string full url

$http.delete()

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

$location.hash()

hash([hash]); This method is getter / setter. Returns the hash fragment when called without any parameters. Changes the hash fragment when called with a parameter and returns $location. // given url http://example.com/#/some/path?foo=bar&baz=xoxo#hashValue var hash = $location.hash(); // => "hashValue" Parameters Param Type Details hash (optional) stringnumber New hash fragment Returns string hash