factory (factory.html)

Add a new service, defined by a factory function, to the package

Params

Returns

{ Package } - "This" package, to allow methods to be chained.