strongloop/loopback — pull request #340 by ritch (2014-06-19 19:19:39+00:00)
Title: [2.0] Fix remote method definition in client-server example

Fix remote method definition in client-server example. This is the new API for remote methods. Instead of adding meta data to the function object, it creates actual `strongRemoting.SharedMethod` objects on the `Model.sharedClass` (which is a `strongRemoting.SharedClass`).

/to @raymondfeng @bajtos
/cc @sumitha