Express.js res.render dot name file
<p>How can I use dot named file on <code>res.render()</code> in express.js?
For instance, </p>

<p>There is template file named <code>view.sample.ejs</code> , I want to render it </p>

<pre><code>app.get('/sample', function(req, res){
    res.render('view.sample');
})
</code></pre>

<p>The result is,</p>

<pre><code>Error: Cannot find module 'sample'
</code></pre>

<p>How can I use dots?</p>

<p>(plus)</p>

<p>I want to name follow mvc model, like  </p>

<pre><code>sample.model.js
sample.controller.js
sample.view.ejs
sample.view.update.ejs ...
</code></pre>

<p>No problem js file, but render ejs file I couldn't.</p>