js/ServiceFactory.js
function (modelName, plugins) {
                logger.debug("Getting service for model: " + modelName);
                var smd = this.config.resolverByModel(modelName);
                return this.getService(smd, plugins);
            }
function (modelName, plugins) {
                logger.debug("Getting service for model: " + modelName);
                var smd = this.config.resolverByModel(modelName);
                return this.getService(smd, plugins);
            }
function ( modelName , plugins ) { logger . debug ( "Getting service for model: " + modelName ) ; var smd = this . config . resolverByModel ( modelName ) ; return this . getService ( smd , plugins ) ; }
Returns an instance of a Service that can provide crud operations for a model.

@param modelName - the model that will be served.
@param plugins - plugins for read/write and other operations, which modify default service method behavior
@return {circuits/Service} - the realized service.
Returns an instance of a Service that can provide crud operations for a model .