Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Example of using angular tryton to fetch parties and addresses
'use strict';
.factory('party', [
function (session) {
var getAll = function (domain, offset, limit) {
return session.rpc('', [
domain || [], offset || null, limit || 20
var getAddresses = function (ids) {
return session.rpc('', [ids]);
return {
getAll: getAll,
getAddresses: getAddresses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.