Raven JS with Angular 1.x - installation questions

I’m using Angular 1.4.8 and installed raven-js 3.21.0. I’m confused as to which angular plugin to include as there are two different plugin files in the repository: “raven-js/plugins/angular.js” and “raven-js/dist/plugins/angular.js”.

Here’s how I’m currently loading it (using webpack)


import Raven from 'raven-js';
import ngRaven from 'raven-js/plugins/angular';

  .addPlugin(ngRaven, angular)

const sentryModule = angular.module('app.sentry', [

export default sentryModule.name;

I then import this sentry.js file in the main application and add it to the app dependencies.

Should I be using “raven-js/dist/plugins/angular.js” or “raven-js/plugins/angular.js”?