code: function (app) {
    //Provide angularLivi18nService
    app.get('/livi18n/ngLivi18n.js', function (req, res) {
      var filepath = path.join(__dirname, 'client', 'ngLivi18n.js');
      res.sendfile(filepath);
    });
    //Check if socket is enabled
    if (config.socket) {
      //Provide SocketManager
      app.get('/livi18n/livi18n.js', function (req, res) {
        var filepath = path.join(__dirname, 'client', 'livi18nSocket.js');
        res.sendfile(filepath);
      });
      //Provide angularSocketService
      app.get('/livi18n/ngSocket.js', function (req, res) {
        var filepath = path.join(__dirname, 'client', 'ngSocket.js');
        res.sendfile(filepath);
      });
    } else {
      //Provide js library
      app.get('/livi18n/livi18n.js', function (req, res) {
        var filepath = path.join(__dirname, 'client', 'livi18n.js');
        res.sendfile(filepath);
      });
      //Provide i18n API
      app.get('/livi18n/:filename', function (req, res) {
        res.header("Access-Control-Allow-Origin", "*");
        res.header("Access-Control-Allow-Headers", "X-Requested-With");
        res.json(readLanguage(config.currentLanguage, req.params.filename + '.json'));
      });
    }
  }
docs: Provide ClientSide API