biz.enef.angulate

Module

Related Docs: object Module | package angulate

trait Module extends Object

Defines the bindings to the angular.Module API and enhancements provided by scalajs-angulate.

Annotations
@RawJSType()
See also

https://docs.angularjs.org/api/ng/type/angular.Module

Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Module
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def animation(name: String, animationFactory: Array[Any]): Module

    Defines an animation hook that can be later used with the $animate service and directives that use this service.

    Defines an animation hook that can be later used with the $animate service and directives that use this service.

    name

    animation name

    animationFactory

    Array with the names of the dependencies to be injected. The last element in this array must be the factory function

    Note

    animations take effect only if the ngAnimate module is loaded

    See also

    https://docs.angularjs.org/api/ng/type/angular.Module#animate

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def config(configFn: Array[Any]): Module

    Use this method to register work which needs to be performed on module loading.

    Use this method to register work which needs to be performed on module loading.

    configFn

    Array with the names of the dependencies to be injected. The last element in this array must be the function to be called on module load

    See also

    https://docs.angularjs.org/api/ng/type/angular.Module#config

  8. def constant(name: String, value: Any): Module

    Register a constant service, such as a string, number, array ...

    Register a constant service, such as a string, number, array ...

    name

    The name of the constant

    value

    The constant value

    See also

    https://docs.angularjs.org/api/ng/type/angular.Module#constant

  9. def controller(name: String, constructor: Array[Any]): Module

    Registers a controller.

    Registers a controller.

    name

    The name of the controller

    constructor

    Array containing the names of the dependencies to be injected and the constructor function as last element

    See also

    https://docs.angularjs.org/api/ng/type/angular.Module#controller

  10. def directive(name: String, directiveFactory: Function): Module

    Register a new directive with the compiler.

    Register a new directive with the compiler.

    name

    Name of the directive in camel-case (ie ngBind)

    directiveFactory

    Function that returns the directive definition object (DDO) when called

    See also

    https://docs.angularjs.org/api/ng/type/angular.Module#directive

  11. def directive(name: String, directiveFactory: Array[Any]): Module

    Register a new directive with the compiler.

    Register a new directive with the compiler.

    name

    Name of the directive in camel-case (ie ngBind)

    directiveFactory

    Array containing the names of the dependencies to be injected and the constructor function as last element

    See also

    https://docs.angularjs.org/api/ng/type/angular.Module#directive

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def factory(name: String, constructor: Array[Any]): Module

    Register a service factory.

    Register a service factory.

    name

    The name of the service

    constructor

    Array containing the names of the dependencies to be injected and the constructor function as last element

    See also

    https://docs.angularjs.org/api/ng/type/angular.Module#factory

  15. def filter(name: String, filterFactory: Array[Any]): Module

    Register a filter factory.

    Register a filter factory.

    name

    The name of the filter

    filterFactory

    Array containing the names of the dependencies to be injected and the constructor function as last element

    See also

    https://docs.angularjs.org/api/ng/type/angular.Module#filter

  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hasOwnProperty(v: String): Boolean

    Definition Classes
    Object
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. def isPrototypeOf(v: Object): Boolean

    Definition Classes
    Object
  22. def name: String

    The name of the module

  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. def propertyIsEnumerable(v: String): Boolean

    Definition Classes
    Object
  27. def provider(name: String, constructor: Array[Any]): Module

    Register a provider function with the $injector.

    Register a provider function with the $injector.

    name

    The name of the instance. NOTE: the provider will be available under name + 'Provider' key.

    constructor

    Array containing the names of the dependencies to be injected and the constructor function as last element

    See also

    https://docs.angularjs.org/api/ng/type/angular.Module#provider

  28. def run(initializationFn: Array[Any]): Module

    Use this method to register work which should be performed when the injector is done loading all modules.

    Use this method to register work which should be performed when the injector is done loading all modules.

    initializationFn

    Array containing the names of the dependencies to be injected and the initialization function as last element

    See also

    https://docs.angularjs.org/api/ng/type/angular.Module#run

  29. def service(name: String, constructor: Array[Any]): Module

    Register a service constructor which will be invoked with new to create the service instance.

    Register a service constructor which will be invoked with new to create the service instance.

    name

    The name of the service

    constructor

    A class constructor function

    See also

    https://docs.angularjs.org/api/ng/type/angular.Module#service

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toLocaleString(): String

    Definition Classes
    Object
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. def valueOf(): Any

    Definition Classes
    Object
  34. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped