trait Angular extends Object
AngularJS 1.4.2 Binding
- Annotations
- @RawJSType() @native()
- Alphabetic
- By Inheritance
- Angular
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
bind(self: Object, fn: Function): Function
- See also
#bind(js.Object, js.Function, js.Array)
-
def
bind(self: Object, fn: Function, args: Array[Any]): Function
Returns a function which calls function fn bound to self (self becomes the this for fn).
Returns a function which calls function fn bound to self (self becomes the this for fn). You can supply optional args that are prebound to the function. This feature is also known as partial application, as distinguished from function currying.
- See also
https://docs.angularjs.org/api/ng/function/angular.bind
- def bootstrap(element: JQuery, modules: String, config: AngularConfiguration): Injector
- def bootstrap(element: JQuery, modules: String): Injector
- def bootstrap(element: JQuery, modules: Array[Any], config: AngularConfiguration): Injector
- def bootstrap(element: JQuery, modules: Array[Any]): Injector
- def bootstrap(element: JQLite, modules: String, config: AngularConfiguration): Injector
- def bootstrap(element: JQLite, modules: String): Injector
- def bootstrap(element: JQLite, modules: Array[Any], config: AngularConfiguration): Injector
- def bootstrap(element: JQLite, modules: Array[Any]): Injector
- def bootstrap(element: Document, modules: String, config: AngularConfiguration): Injector
- def bootstrap(element: Document, modules: String): Injector
- def bootstrap(element: Document, modules: Array[Any], config: AngularConfiguration): Injector
- def bootstrap(element: Document, modules: Array[Any]): Injector
- def bootstrap(element: Element, modules: String, config: AngularConfiguration): Injector
- def bootstrap(element: Element, modules: String): Injector
- def bootstrap(element: Element, modules: Array[Any], config: AngularConfiguration): Injector
- def bootstrap(element: Element, modules: Array[Any]): Injector
- def bootstrap(element: String, modules: String, config: AngularConfiguration): Injector
- def bootstrap(element: String, modules: String): Injector
- def bootstrap(element: String, modules: Array[Any], config: AngularConfiguration): Injector
- def bootstrap(element: String, modules: Array[Any]): Injector
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def copy(source: Any, destination: Any): Any
-
def
copy(source: Any): Any
Creates a deep copy of source, which should be an object or an array.
Creates a deep copy of source, which should be an object or an array. If no destination is supplied, a copy of the object or array is created. If a destination is provided, all of its elements (for arrays) or properties (for objects) are deleted and then all elements/properties from the source are copied to it. If source is not an object or array (inc. null and undefined), source is returned. If source is identical to 'destination' an exception will be thrown.
- def element(elem: |[Element, String]): JQLite
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(o1: Any, o2: Any): Boolean
Determines if two objects or two values are equivalent.
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)
- Both values represent the same regular expression (In JavaScript, /abc/ == /abc/ => false. But we consider two regular expressions as equal when their textual representation matches).
During a property comparison, properties of function type and properties with names that begin with $ are ignored.
Scope and DOMWindow objects are being compared only by identify (===).
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
extend[T](dst: Any, src: Any): T
Extends the destination object dst by copying own enumerable properties from the src object(s) to dst.
Extends the destination object dst by copying own enumerable properties from the src object(s) to dst. You can specify multiple src objects. If you want to preserve original objects, you can do so by passing an empty object as the target: var object = angular.extend({}, object1, object2).
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
forEach(obj: Any, iterator: Function, context: Any): Unit
Invokes the iterator function once for each item in obj collection, which can be either an object or an array.
Invokes the iterator function once for each item in obj collection, which can be either an object or an array. The iterator function is invoked with iterator(value, key, obj), where value is the value of an object property or an array element, key is the object property key or array element index and obj is the obj itself. Specifying a context for the function is optional.
-
def
forEach(obj: Any, iterator: Function): Unit
Invokes the iterator function once for each item in obj collection, which can be either an object or an array.
Invokes the iterator function once for each item in obj collection, which can be either an object or an array. The iterator function is invoked with iterator(value, key, obj), where value is the value of an object property or an array element, key is the object property key or array element index and obj is the obj itself. Specifying a context for the function is optional.
-
def
fromJson[T](s: String): T
Deserializes a JSON string.
Deserializes a JSON string.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
identity(value: Any): Any
A function that returns its first argument.
A function that returns its first argument. This function is useful when writing code in the functional style.
-
def
injector(modules: Array[Any], strictDi: Boolean = false): Injector
Creates an injector object that can be used for retrieving services as well as for dependency injection.
Creates an injector object that can be used for retrieving services as well as for dependency injection.
-
def
isArray(value: Any): Boolean
Determines if a reference is an Array.
Determines if a reference is an Array.
-
def
isDate(value: Any): Boolean
Determines if a value is a date.
Determines if a value is a date.
-
def
isDefined(value: Any): Boolean
Determines if a reference is defined.
Determines if a reference is defined.
- See also
https://docs.angularjs.org/api/ng/function/angular.isDefined
-
def
isElement(value: Any): Boolean
Determines if a reference is a DOM element (or wrapped jQuery element).
Determines if a reference is a DOM element (or wrapped jQuery element).
-
def
isFunction(value: Any): Boolean
Determines if a reference is a Function.
Determines if a reference is a Function.
- See also
https://docs.angularjs.org/api/ng/function/angular.isFunction
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isNumber(value: Any): Boolean
Determines if a reference is a Number.
Determines if a reference is a Number.
-
def
isObject(value: Any): Boolean
Determines if a reference is an Object.
Determines if a reference is an Object. Unlike typeof in JavaScript, nulls are not considered to be objects. Note that JavaScript arrays are objects.
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
def
isString(value: Any): Boolean
Determines if a reference is a String.
Determines if a reference is a String.
-
def
isUndefined(value: Any): Boolean
Determines if a reference is undefined.
Determines if a reference is undefined.
-
def
lowercase(s: String): String
Converts the specified string to lowercase
Converts the specified string to lowercase
-
def
merge(dst: Object, src: Object): Object
Deeply extends the destination object dst by copying own enumerable properties from the src object(s) to dst.
Deeply extends the destination object dst by copying own enumerable properties from the src object(s) to dst. You can specify multiple src objects. If you want to preserve original objects, you can do so by passing an empty object as the target: var object = angular.merge({}, object1, object2).
- def module(name: String, dependencies: Array[String], configFn: Array[Any]): Module
- def module(name: String, dependencies: Array[String]): Module
- def module(name: String): UndefOr[Module]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
noop(): Unit
A function that performs no operations.
A function that performs no operations. This function can be useful when writing code in the functional style.
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
def
reloadWithDebugInfo(): Unit
Use this function to reload the current application with debug information turned on.
Use this function to reload the current application with debug information turned on. This takes precedence over a call to $compileProvider.debugInfoEnabled(false)
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toJson(obj: Any, pretty: Boolean = false): String
Serializes input into a JSON-formatted string.
Serializes input into a JSON-formatted string. Properties with leading $$ characters will be stripped since angular uses this notation internally.
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
uppercase(string: String): String
Converts the specified string to uppercase.
Converts the specified string to uppercase.
-
def
valueOf(): Any
- Definition Classes
- Object
-
def
version(): AngularVersion
An object that contains information about the current AngularJS version.
An object that contains information about the current AngularJS version.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )