title: What is the syntax for importing / requiring NPM modules with Angular in app.js?
body: <p>I am using Ionic and AngularJS to build a mobile application.</p>
  
  <p>I have an API that I have to use (not sure I can say what due to stupid NDA stuff).</p>
  
  <p>But in the documentation it requires an <code>npm install</code>. Currently, I'm learning Ionic, and I'm wondering about what to do with this? How do I import my API with Angular so I can make a call?</p>
  
  <p>Node:</p>
  
  <p><code>var api = require('npm-api');</code> (This, but in Angular.)</p>
  
  <p><code>api.doSomething({...});</code> Etc...</p>
  
  <p>So that's basically how it looks in node. How can I do this with Angular? I love Angular's MV*, especially for this Ionic mobile app, so I'm wondering what the best, most efficient way to do this is.</p>