A resource represents one or more of that entity and you can instantiate
one, so that's why we choose singular names. E.g 'new Product()'
On Aug 23, 2013 9:51 AM, "Justin Sherrill" <notifications@github.com> wrote:

> In engines/bastion/app/assets/bastion/systems/system.factory.js:
>
> > @@ -50,3 +50,22 @@ angular.module('Bastion.systems').factory('SystemSubscriptions',
> >          });
> >      }]
> >  );
> > +
> > +/**
> > + * @ngdoc service
> > + * @name  Katello.systems.factory:SystemEvents
> > + *
> > + * @requires $resource
> > + * @requires Routes
> > + *
> > + * @description
> > + *   Provides a $resource for system events.
> > + */
> > +angular.module('Bastion.systems').factory('SystemEvents',
>
> actually, I was just following the SystemSubscriptions which is plural as
> well. If we were fetching a single event, I would agree with you, but it
> seems silly to call the fetching of multiple items by a singular name, or
> am i confused as to what you are referring to?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Katello/katello/pull/2799/files#r5950432>
> .
>