title: Options found in locals object in ejs
body: <p>I got the following error when running the project from <a href="https://github.com/Hitman666/MEAN_MVC_2ndTutorial" rel="nofollow">GitHub</a>: "options found in locals object. The option(s) is copied to the option object. This behavior is deprecated and will be removed in EJS 3"</p>
  
  <p>I tried to update the ejs and express modules to the newest versions but the notice persists. I googled, ofc, and the only thread about it is <a href="https://github.com/mde/ejs/issues/36" rel="nofollow">this</a>, but it doesn't help.</p>
  
  <p>Does anyone know more about this?</p>
  
  <p>For reference, here is the whole important code:</p>
  
  <p><em>app/views/index.ejs</em></p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;&lt;%= title %&gt;&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
      &lt;h1&gt;&lt;%= title %&gt;&lt;/h1&gt;
      &lt;img src="img/logo.jpg" alt="Hack Hands logo"&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><em>app/controllers/index.server.controller.js</em></p>
  
  <pre><code>exports.render = function(req, res) {
      res.render('index', {
          title: 'MEAN MVC'
      });
  };
  </code></pre>
  
  <p><em>app/routes/index.server.route.js</em></p>
  
  <pre><code>module.exports = function(app) {
      var index = require('../controllers/index.server.controller');
      app.get('/', index.render);
  };
  </code></pre>
  
  <p><em>app/config/express.js</em></p>
  
  <pre><code>var express = require('express');
  module.exports = function() {
      var app = express();
  
      app.set('views', './app/views');
      app.set('view engine', 'ejs');
  
      require('../app/routes/index.server.routes.js')(app);
  
      app.use(express.static('./public'));
  
      return app;
  };
  </code></pre>
  
  <p><em>server.js</em></p>
  
  <pre><code>var port = 1337;
  var express = require('./config/express');
  var app = express();
  app.listen(port);
  module.exports = app;
  console.log('Server running at http://localhost:' + port);
  </code></pre>