Class

biz.enef.angulate.Module

RichModule

Related Doc: package Module

Permalink

implicit final class RichModule extends AnyVal

Annotations
@inline()
Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichModule
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichModule(self: Module)

    Permalink

Value Members

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

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

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

    Permalink
    Definition Classes
    Any
  4. def animation(name: String, animationFactory: AnnotatedFunction): Module

    Permalink

    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

    Annotations
    @inline()
    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

    Permalink
    Definition Classes
    Any
  6. implicit def autoUnwrapRichModule(m: RichModule): Module

    Permalink
    Annotations
    @inline()
  7. macro def componentOf[T]: Module

    Permalink

    Registers a Angular2-style Component.

    Registers a Angular2-style Component.

    Annotations
    @inline()
  8. def config(configFn: AnnotatedFunction): Module

    Permalink

    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

    Annotations
    @inline()
    See also

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

  9. def controller(name: String, constructor: AnnotatedFunction): Module

    Permalink

    Registers a controller.

    Registers a controller.

    name

    The name of the controller

    constructor

    Controller construction function

    Annotations
    @inline()
    See also

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

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

    Permalink

    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

    Annotations
    @inline()
    Note

    This is a scalajs-angulate enhancement

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

    Permalink

    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

    Annotations
    @inline()
    Note

    This is a scalajs-angulate enhancement

  12. def directive(name: String, directiveFactory: AnnotatedFunction): Module

    Permalink

    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

    Annotations
    @inline()
    See also

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

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

    Permalink

    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

    Annotations
    @inline()
    Note

    This is a scalajs-angulate enhancement

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

    Permalink

    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

    Annotations
    @inline()
    Note

    This is a scalajs-angulate enhancement

  15. def factory(name: String, constructor: AnnotatedFunction): Module

    Permalink

    Register a service factory.

    Register a service factory.

    name

    The name of the service

    constructor

    Service constructor function

    Annotations
    @inline()
    See also

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

  16. def filter(name: String, filterFactory: AnnotatedFunction): Module

    Permalink

    Register a filter factory.

    Register a filter factory.

    name

    The name of the filter

    filterFactory

    Filter constructor function

    Annotations
    @inline()
    See also

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

  17. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def name: String

    Permalink

    The name of the module

    The name of the module

    Annotations
    @inline()
  20. def provider(name: String, constructor: AnnotatedFunction): Module

    Permalink

    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

    Annotations
    @inline()
    See also

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

  21. def run(initializationFn: AnnotatedFunction): Module

    Permalink

    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 on module fully loaded

    Annotations
    @inline()
    See also

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

  22. val self: Module

    Permalink
  23. def service(name: String, constructor: AnnotatedFunction): Module

    Permalink

    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

    Annotations
    @inline()
    See also

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

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

    Permalink

    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

    Annotations
    @inline()
    Note

    This is a scalajs-angulate enhancement

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

    Permalink

    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

    Annotations
    @inline()
    Note

    This is a scalajs-angulate enhancement

  26. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped