Package | Description |
---|---|
com.asayama.gwt.angular.client |
Provides GWT Java wrapper around AngularJS.
|
Modifier and Type | Class and Description |
---|---|
class |
NG |
Modifier and Type | Method and Description |
---|---|
static <M extends AbstractModule> |
Angular.injector(Class<M>... modules)
Returns an injector object that can be used to retrieve services.
|
static <M extends AbstractModule> |
Angular.module(M module,
String... requires)
Registers a module with Angular framework, with module dependency listed
in the
requires parameter. |
static <M extends AbstractModule> |
Angular.moduleWithDependency(M module,
String... requires)
Deprecated.
Replaced by
#module(Module, String...) since 0.0.72 |
Modifier and Type | Method and Description |
---|---|
<P extends Provider<?>> |
AbstractModule.config(Class<P> klass,
Configurator<P> configurator)
Configures a provider prior to obtaining the factory from it.
|
AbstractModule |
AbstractModule.constant(String name,
Object value)
Registers an object to the module.
|
<C extends Controller> |
AbstractModule.controller(Class<C> klass)
Registers a controller component with the module.
|
<D extends Directive> |
AbstractModule.directive(Class<D> klass)
Registers a Directive type with the module.
|
<S extends Service> |
AbstractModule.factory(Class<S> klass)
Deprecated.
Replaced by
service(Class) since 0.0.68 |
<S extends Service> |
AbstractModule.factory(Factory<S> factory)
Registers a service object factory instance with the module, so that the
service object is created by the factory if/when the service is
requested.
|
protected <S extends Service> |
AbstractModule.factory(String name,
Factory<S> factory) |
<F extends Filter> |
AbstractModule.filter(Class<F> klass)
Registers a Filter type with the module.
|
<P extends Provider<?>> |
AbstractModule.provider(Class<P> klass)
TODO Implement this method
|
<S extends Service> |
AbstractModule.service(Class<S> klass)
Registers a Service class to the module.
|
<S extends Service> |
AbstractModule.service(S service)
Registers an instance of a Service object to the module.
|
AbstractModule |
AbstractModule.value(String name,
Object object)
Registers an object to the module.
|
Copyright © 2014. All rights reserved.