biz.enef.angular

Module

Related Doc: package angular

trait Module extends Object

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

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. def animation(name: String, animationFactory: Function): 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

    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

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. macro def config(f: (Nothing, Nothing, Nothing, Nothing, Nothing) ⇒ Any): Module

  9. macro def config(f: (Nothing, Nothing, Nothing, Nothing) ⇒ Any): Module

  10. macro def config(f: (Nothing, Nothing, Nothing) ⇒ Any): Module

  11. macro def config(f: (Nothing, Nothing) ⇒ Any): Module

  12. macro def config(f: (Nothing) ⇒ Any): Module

  13. macro def config(f: () ⇒ Any): Module

  14. 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

  15. def config(configFn: Function): 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

    This function is executed on module load

    See also

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

  16. 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

  17. 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

  18. def controller(name: String, constructor: Function): Module

    Registers a controller.

    Registers a controller.

    name

    The name of the controller

    constructor

    Controller construction function

    See also

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

  19. macro def controllerOf[T <: NGController](name: String): Module

    Registers the specified controller using an explicitly given controller name.

    Registers the specified controller using an explicitly given controller name.

    T

    Controller class

    name

    The controller name

    Note

    This is a scalajs-angulate enhancement

  20. macro def controllerOf[T <: NGController]: Module

    Registers the specified controller using the fully qualified class as the name of the controller.

    Registers the specified controller using the fully qualified class as the name of the controller.

    T

    Controller class

    Note

    This is a scalajs-angulate enhancement

  21. 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

  22. 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

    Directive constructor function

    See also

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

  23. macro def directiveOf[T <: Directive](name: String): Module

    Registers the specified class as Angular directive under the given name.

    Registers the specified class as Angular directive under the given name.

    T

    Class defining the directive

    name

    The name of the directive

    Note

    This is a scalajs-angulate enhancement

  24. macro def directiveOf[T <: Directive]: Module

    Registers the specified class as Angular directive.

    Registers the specified class as Angular directive. The name of the directive will be the name of the class, with the first letter in lower case and without the suffix 'Directive'.

    T

    Class defining the directive

    Note

    This is a scalajs-angulate enhancement

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

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

    Definition Classes
    AnyRef → Any
  27. 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

  28. def factory(name: String, constructor: Function): Module

    Register a service factory.

    Register a service factory.

    name

    The name of the service

    constructor

    Service constructor function

    See also

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

  29. 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

  30. def filter(name: String, filterFactory: Function): Module

    Register a filter factory.

    Register a filter factory.

    name

    The name of the filter

    filterFactory

    Filter constructor function

    See also

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

  31. def finalize(): Unit

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

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

    Definition Classes
    Object
  34. def hashCode(): Int

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

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

    Definition Classes
    Object
  37. def name: String

    The name of the module

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

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

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

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

    Definition Classes
    Object
  42. 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

  43. def provider(name: String, constructor: Function): 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

    Provider constructor function

    See also

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

  44. macro def run(f: (Nothing, Nothing, Nothing, Nothing, Nothing) ⇒ Any): Module

  45. macro def run(f: (Nothing, Nothing, Nothing, Nothing) ⇒ Any): Module

  46. macro def run(f: (Nothing, Nothing, Nothing) ⇒ Any): Module

  47. macro def run(f: (Nothing, Nothing) ⇒ Any): Module

  48. macro def run(f: (Nothing) ⇒ Any): Module

  49. macro def run(f: () ⇒ Any): Module

  50. 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

  51. def run(initializationFn: Function): 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

    This function is executed when all modules have been loaded

    See also

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

  52. 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

  53. def service(name: String, constructor: Function): 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

  54. macro def serviceOf[T <: Service](name: String): Module

    Registers the specified class as Angular service using the explicitly given service name.

    Registers the specified class as Angular service using the explicitly given service name.

    T

    Service class

    name

    The service name

    Note

    This is a scalajs-angulate enhancement

  55. macro def serviceOf[T <: Service]: Module

    Registers the specified class as Angular service.

    Registers the specified class as Angular service. The class name is used as the name of the service, with the first letter in lower case.

    T

    Service class

    Note

    This is a scalajs-angulate enhancement

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

    Definition Classes
    AnyRef
  57. def toLocaleString(): String

    Definition Classes
    Object
  58. def toString(): String

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped