title: Adding Braintree to an Angular 2 app using SystemJS
body: <p>We have a large Angular 2 project that uses SystemJS. We want to incorporate Braintree in this project, however, I'm getting SystemJS 404 errors.</p>
  
  <p>As I've read, Braintree doesn't provide umd bundle with their npm package anymore. I've tried adding their <em>index.js</em> to the <em>systemjs.config.js</em> file, but it didn't work.</p>
  
  <pre><code>(SystemJS) XHR error (404 Not Found) loading http://localhost:3000/node_modules/braintree-web/index.js/client
  </code></pre>
  
  <p>If I don't add anything I get the following error:</p>
  
  <pre><code>(SystemJS) XHR error (404 Not Found) loading http://localhost:3000/braintree-web
  </code></pre>
  
  <p>braintree-web is added to <em>package.json</em> and installed in <em>node_modules</em></p>
  
  <pre><code>"@types/braintree-web": "^3.6.2"
  "braintree-web": "^3.22.2"
  </code></pre>