Skip to content

Angular Express component to handle Angular exceptions by decorating $exceptionHandler.

License

Notifications You must be signed in to change notification settings

ngx-components/angular-exception-handler-decorator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-express-header

Angular exception handler decorator

AngularJS Express component to handle Angular exceptions by decorating $exceptionHandler.

Installation

To install the component:

$ ngx install angular-exception-handler-decorator

No clue what the ngx command line tool is? Learn more about AngularJS Express.

How to use

After installing the component:

  • edit _build/exception-handler.decorator.js
  • add your custom logic

and import the component in your Angular application:

// Angular main module
var ngModule = angular.module('app', []);

// Import component
import c from 'components/angular-exception-handler-decorator/_build/index';

// Instantiate component
c(ngModule, { baseUrl: 'components/angular-exception-handler-decorator' });

Component options

  • baseUrl: Base URL that component can use to construct links

License

MIT

Change log

v0.1.0

  • Initial version

About

Angular Express component to handle Angular exceptions by decorating $exceptionHandler.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published