Create a new service object. Called before each request handling.
Type declaration
(serviceClass: Function): any
Parameters
serviceClass: Function
Returns any
getTargetClass
getTargetClass:function
Return the type used to handle requests to the target service.
By default, returns the serviceClass received, but you can use this
to implement IoC integrations.
The factory used to instantiate the object services