Learn how to use AngularJS Function to display text in upper case or display text in lower case or check if variable contains string value. Sometimes you may need to chack if current object is function or is number or is date or is array. Click on "Try Now" button to modify and test code yourself.
Functions | Description | See Live Example |
---|---|---|
lowercase | This function is intended to converts the specified string to lowercase. | Try Now |
uppercase | This function is intended to converts the specified string to uppercase. | Try Now |
forEach | This function is intended to iterator the each items in array. | Try Now |
extend | This function is intended to extend the destination object by copying the enumerable properties of object ie. var obj = angular.extend({}, obj1, obj2). | Try Now |
merge | This function is intended to deeply extend the destination object by copying the enumerable properties of object ie. var obj = angular.merge({}, obj1, obj2). | Try Now |
noop | This function performs no operations, can be useful when writing code in the functional style. | Try Now |
identity | This function returns its first argument, can be useful when writing code in the functional style. | Try Now |
isUndefined | This function is intended to identify if a reference is undefined. | Try Now |
isDefined | This function is intended to identify if a reference is defined. | Try Now |
isObject | This function is intended to identify if a reference is object, nulls are not considered to be objects. | Try Now |
isString | This function is intended to identify if a reference is string. | Try Now |
isNumber | This function is intended to identify if a reference is number. | Try Now |
isDate | This function is intended to identify if a value is date. | Try Now |
isArray | This function is intended to identify if a reference is array. | Try Now |
isFunction | This function is intended to identify if a reference is function. | Try Now |
isElement | This function is intended to identify if a reference is DOM element. | Try Now |
copy | This function is intended to creates a deep copy of source object or an array. | Try Now |
equals | This function is intended to identify two objects or two values are equivalent, it supports value types, regular expressions, arrays and objects. | Try Now |
bind | Allows to work with partial functions. | Try Now |
toJson | This function is intended to serializes input into a JSON-formatted string. | Try Now |
fromJson | This function is intended to deserializes a JSON string. | Try Now |
bootstrap | This function is intended to manually start up angular application. | Try Now |
reloadWithDebugInfo | This function is intended to reload the current application with debug information turned on. | Try Now |
injector | This function is intended to creates an injector object that can be used for retrieving services as well as for dependency injection. | Try Now |
element | This function is intended to wraps a raw DOM element or HTML string as a jQuery element. | Try Now |
module | This function is a global place for creating, registering and retrieving Angular modules. | Try Now |