All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.gwt.angular.client.Scope Maven / Gradle / Ivy

package com.google.gwt.angular.client;

/**
 * A scope object is essentially a Model object that can be injected and comes with some
 * methods builtin. The {@link NgInject} annotation here says that all subtypes of Scope will
 * still be named as '$scope'.
 */
@NgInject(name = "$scope",
    basetype = Scope.class)
public interface Scope> extends Model {
   void $watch(String expr, WatchFunction func);
   void $watch(String expr, WatchFunction func, boolean objEq);

  void $apply(String expr);
}