https://github.com/kyoken74/gwt-angular/issues/21 Reduce the code redundancy and normalized the names.