function addCall(formatter) {
    formatter.call = function(path,options,cb,errCb) {
      try{
        formatter.compile(path,options,function(result) {
          if (typeof result === 'string') { return cb(result); }
          else { return errCb(result); }
        },errCb);
      }
      catch(ex) {
        return errCb(ex);
      }
    };
  }
@ngdoc method
@name client.formatters:formatters#add
@methodOf client.formatters:formatters
@function
Define a formatter for client asset (JS/CSS/HTML) rendering
@param {string|object} nameOrModule the formatter object or name
@param {object} config parameters configuring the formatter