Uncaught ReferenceError: require is not defined in browserify
<p>I need to use this <a href="https://github.com/xErik/ng-if-bootstrap-grid" rel="nofollow noreferrer">ng-if-bootstrap-grid</a> package in my project, Though in order to get the package working I need to install <a href="https://github.com/substack/node-browserify" rel="nofollow noreferrer">browserify</a> by following command:<br><code>npm install -g browserify</code></p>

<p>my code to use it is: </p>

<p><code>var ng =require('ng-if-bootstrap-grid').name;
angular.module('myApp',ng);</code></p>

<p>But I still get this error:
<strong>Uncaught ReferenceError: require is not defined</strong></p>

<p>I'd appreciate any help.</p>