bindDataNew scope organizations method Contacts query params type Comp

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
$bindDataNew($scope, {
organizations: {
method: Contacts.query,
params: {type: 'Company', organization: $scope.project.organization},
include: ['billing_organization', 'billed_organization']
}
});
...
$editModal($scope, Financials, 'financials', transformScope.bind(undefined, 'edit'), undefined, 'lg',
['organizations']);