How to solve 'window is not defined' Error in Node JS on Terminal
<p>I want to include angular JS Using require so I am using below code</p>

<pre><code>var ang = require('angular');
</code></pre>

<p>But It displays error </p>

<pre><code>ReferenceError: window is not defined
</code></pre>

<p>I Know window object not defined in node console but help me how to avoid this error ?</p>

<p>I hope my question understandable.</p>