AngularGWT: Write Angular Controllers, Filters, Directives in GWT.
Usage
angulargwt is available in maven central
Just include it in your pom.xml
<dependency>
<groupId>ru.finam</groupId>
<artifactId>angulargwt</artifactId>
<version>1.1.1</version>
</dependency>
or gradle build:
dependencies {
compile 'ru.finam:angulargwt:1.1.1'
}
or ivy:
<dependency org="ru.finam" name="angulargwt" rev="1.1.1" />
Add dependency in your gwt module descriptor (*.gwt.xml)
<inherits name="com.google.gwt.angular.angulargwt"/>
Look at TodoMVC app to learn how to use angulargwt in your project.
WARNING: Recommended that you use SuperDevMode develop, completely untested in DevMode. Uses lots of compiler casting magic to reduce code size, but is likely to break when running inside a JVM.
Currently undone:
- More JavaDoc.
- Unit tests.
- Transitive dependencies, modules that depend on modules.
- JSO wrappers for the rest of the AngularJs API. I only implemented that which was needed for TodoMVC.