Using a NodeJS module in Angular (Ionic)

I know… this does’t have anything to do with Ionic. I’m really just hoping you guys have some ideas as this seems like an awesome community.

I have a module that I am adding in server.js that I would like to use in controllers and services. There are some seemingly cryptic posts like this and this that I sadly struggle to understand, and they fail during implementation.

Any tips for getting a node module into angular?

I do not have any experience on that but I know browserify can enable you to share code between your node.js server and browser.