@Retention(value=RUNTIME) @Target(value=METHOD) public @interface NGReturn
usage: { @NGReturn(model="",updates="")}
model: main return name can be very useful with angularBeans.bind(..) method to access the return without handling the promise (with .then(..) at the JS side )
updates : beside the main return you can specify an array of names of other front end models that will be synchronized with back ends models at the end of the method call (with ' updates={"*"} ' all models will be updated) work only with @NGModel annotated properties
Copyright © 2015. All rights reserved.