It’s a bower component and works well with scaffolding tools like Yeoman. Installing the component is possible with the following command line:
bower install ng-helper-airbrake –save
After that the component is registered in the bower.json of the project. Moving up the dependency entry to the position right after the inclusion of angular ensures that the Airbrake-Shim is loaded as early as possible when doing a full page reload.
ngHelperAirbrake offers the $airbrake angular service which allows to configure the different Airbrake settings. The documentation at our project page describes how to set the right configuration: https://github.com/ngHelper/ngHelperAirbrake
After configuring the project everything works as expected and Airbrake receives exception from the AngularJS application.