Function components in ng
Name | Description |
---|---|
angular.lowercase |
Converts the specified string to lowercase. |
angular.uppercase |
Converts the specified string to uppercase. |
angular.forEach |
Invokes the |
angular.extend |
Extends the destination object |
angular.noop |
A function that performs no operations. This function can be useful when writing code in the functional style. function foo(callback) { var result = calculateResult(); (callback || angular.noop)(result); } |
angular.identity |
A function that returns its first argument. This function is useful when writing code in the functional style. |
angular.isUndefined |
Determines if a reference is undefined. |
angular.isDefined |
Determines if a reference is defined. |
angular.isObject |
Determines if a reference is an |
angular.isString |
Determines if a reference is a |
angular.isNumber |
Determines if a reference is a |
angular.isDate |
Determines if a value is a date. |
angular.isArray |
Determines if a reference is an |
angular.isFunction |
Determines if a reference is a |
angular.isElement |
Determines if a reference is a DOM element (or wrapped jQuery element). |
angular.copy |
Creates a deep copy of |
angular.equals |
Determines if two objects or two values are equivalent. Supports value types, regular expressions, arrays and objects. |
angular.bind |
Returns a function which calls function |
angular.toJson |
Serializes input into a JSON-formatted string. Properties with leading $$ characters will be stripped since angular uses this notation internally. |
angular.fromJson |
Deserializes a JSON string. |
angular.bootstrap |
Use this function to manually start up angular application. |
angular.reloadWithDebugInfo |
Use this function to reload the current application with debug information turned on. This takes precedence over a call to |
angular.injector |
Creates an injector object that can be used for retrieving services as well as for dependency injection (see dependency injection). |
angular.element |
Wraps a raw DOM element or HTML string as a jQuery element. |
angular.module |
The |
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.3.20/docs/api/ng/function