Skip to content

Gedzis/angular-error-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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