I guess I'm missing something with Browserify. I want to browserify my custom node module, which exposes a couple of functions. How would I do that?

Every example I've seen in browserify it's always a console.log or an alert. It's not good to me if it runs immediately. I want to run my browserify code on demand.

But for the sake of this example. Say I export a sum method. Take this example:

```
module.exports = {
  sum = function(a, b) {
    return a + b;
  }
};

```

After I browserify this via the standard command: browserify index.js -o bundle.js.

Then I add this file to the my index.html.

Within my AngularJS application or any client side code. How do I access this **sum** method?

I can't find it on window.sum. Or maybe I got it all wrong.