Separated the Directive interface from Function.

https://github.com/kyoken74/gwt-angular/issues/36