0xAX/angularjs-json-rpc — pull request #1 by cfairweather (2013-12-12 05:37:14+00:00)
Title: Change from factory to $http shortcut for maximum angular compatibility

Instead of creating a new factory for handling jsonrpc request, this angular module (angular-json-rpc) creates a new shortcut just like $http.get, but is instead $http.jsonrpc;

$http.jsonrpc('url/to/jsonrpc/service', 'methodToCall', [1, 2, 3], {}).success(function(){}).error(function(){});

What do you think?