code: public AbstractModule constant(String name, Object value) {
          ngo.constant(name, value);
          return this;
      }
docs: Registers an object/data structure to the module. Objects registered by
  this method are accessible by services and controllers via {@link Inject}
  annotation within the same module, or to a module during configuration.
  For example,
  <pre>
  MyModule module = new MyModule();
  Angular.module(module);
  module.constant("myConstant", "Hello, World!");
  {@code module.configure(MyServiceProvider.class, Configurator<MyServiceProvider>()} {
  public void configure(MyServiceProvider provider) {
  //configure provider
  }
  });
  ...
  class MyServiceProvider implements Provider {
  {@code @Injector.Inject("myConstant") }
  String myConstant; //injector assigns "Hello, World!"
  }
  </pre>
  The concept of value in AngularJS is a useful way to manage objects
  that are of module scope. With GWT, however, we can accomplish the same
  thing by simply using the Java package name with {@code public static},
  if the value is used exclusively in GWT. The method is nevertheless
  useful if your module is expected to be a hybrid of GWT and JavaScript.
  
  @param name Name of the object.
  @param object The instance of the object.