Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 566 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 566 Bytes

angular-error-logger

Angular error logger. It catches errors and sends POST request to specific URL

Install

bower install angular-error-logger --save

or just grab dist/angular-error-logger.js

Usage

//include it in your app
angular.module('myapp', ['angularErrorLogger']);

//Set url where to post error
angular.module('myapp')
.constant('ANGULAR_ERROR_LOGGER_CONFIG', {
     url: 'http://localhost:9000/error-logger'
});

Development

Install

npm install gulp-cli -g
npm install

Build

gulp build