angular.Module.factory()

factory(name, providerFunction); See $provide.factory(). Parameters Param Type Details name string service name providerFunction Function Function for creating new instance of the service.

ngSwitch

directive in module ng The ngSwitch directive is used to conditionally swap DOM structure on your template based on a scope expression. Elements within ngSwitch but without ngSwitchWhen or ngSwitchDefault directives will be preserved at the location as specified in the template. The directive itself works similar to ngInclude, however, instead of downloading template code (or loading it from the template cache), ngSwitch simply chooses one of the nested elements and makes it visible based

ngList

directive in module ng Text input that converts between a delimited string and an array of strings. The default delimiter is a comma followed by a space - equivalent to ng-list=", ". You can specify a custom delimiter as the value of the ngList attribute - for example, ng-list=" | ". The behaviour of the directive is affected by the use of the ngTrim attribute. If ngTrim is set to "false" then whitespace around both the separator and each list item is respected. This implies that the user

angular.isString

function in module ng Determines if a reference is a String. Usage angular.isString(value); Arguments Param Type Details value * Reference to check. Returns boolean True if value is a String.

form.FormController.$valid

$valid boolean True if all of the containing forms and controls are valid.

$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

ngTouch.directive

Name Description ngClick DEPRECATION NOTICE: Beginning with Angular 1.5, this directive is deprecated and by default disabled. The directive will receive no further support and might be removed from future releases. If you need the directive, you can enable it with the $touchProvider#ngClickOverrideEnabled function. We also recommend that you migrate to FastClick. To learn more about the 300ms delay, this Telerik article gives a good overview. A more powerful replacement for the default ngC