$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

$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.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

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

$sce.parseAsJs()

parseAsJs(expression); Shorthand method. $sce.parseAsJs(value) â $sce.parseAs($sce.JS, 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 for overriding va

$sce.getTrusted()

getTrusted(type, maybeTrusted); Delegates to $sceDelegate.getTrusted. As such, takes the result of a $sce.trustAs() call and returns the originally supplied value if the queried context type is a supertype of the created type. If this condition isn't satisfied, throws an exception. Parameters Param Type Details type string The kind of context in which this value is to be used. maybeTrusted * The result of a prior $sce.trustAs call. Returns * The value the was originally provide

$timeout.cancel()

cancel([promise]); Cancels a task associated with the promise. As a result of this, the promise will be resolved with a rejection. Parameters Param Type Details promise (optional) Promise Promise returned by the $timeout function. Returns boolean Returns true if the task hasn't executed yet and was successfully canceled.

$animate.leave()

leave(element, [options]); Triggers an animation and then removes the element from the DOM. When the function is called a promise is returned that will be resolved during the next digest once the animation has completed. Parameters Param Type Details element DOMElement the element which will be removed from the DOM options (optional) object an optional collection of options/styles that will be applied to the element Returns Promise the animation callback promise

angular.equals

function in module ng Determines if two objects or two values are equivalent. Supports value types, regular expressions, arrays and objects. Two objects or values are considered equivalent if at least one of the following is true: Both objects or values pass === comparison. Both objects or values are of the same type and all of their properties are equal by comparing them with angular.equals. Both values are NaN. (In JavaScript, NaN == NaN => false. But we consider two NaN as equal) Bot

$location.search()

search(search, [paramValue]); This method is getter / setter. Return search part (as object) of current url when called without any parameter. Change search part when called with parameter and return $location. // given url http://example.com/#/some/path?foo=bar&baz=xoxo var searchObject = $location.search(); // => {foo: 'bar', baz: 'xoxo'} // set foo to 'yipee' $location.search('foo', 'yipee'); // $location.search() => {foo: 'yipee', baz: 'xoxo'} Parameters Param Type Details se