Organizations
avOrganizationsResource
is a service that allows you to get a user's active organizations.
Methods
The configuration object is simply Angular $http configuration
getOrganizations
Returns the user's organizations. This is a helper method that automatically sends the currently logged in user's ID when fetching from the endpoint.
avOrganizationsResource.getOrganizations(config);