AngularJS client to transmission-daemon RPC