code: function Service(name) {
  	if (typeof name === "function") {
  		var _constructor = name;name = null;
  		return register(_constructor);
  	}
  	return register;
  
  	function register(constructor) {
  		registerLock(constructor);
  		var meta = (0, _utils.funcMeta)(constructor);
  
  		name = name || meta.name;
  		meta.service.name = name;
  
  		_app.app.service(name, constructor);
  	}
  }
docs: @function Service
  @public
  @param {String} [name]
  
  @example
  [@]Service()
  class MyService {}