added factory for resource service
webshopApp modified