/ui-router-logger

Module logs all events from ui-router.

Primary LanguageJavaScriptMIT LicenseMIT

ui-router-logger

npm version npm downloads dev dependencies

Module logs all events from ui-router.

###Installation

####npm

npm install ui-router-logger

####code

Just add this module to your application

angular.module('yourAppName', ['ui-router-logger'])

or more complex example:

var dependencies = [
    require('angular-ui-router')
];

if(DEBUG) dependencies.push(require('ui-router-logger'));

angular.module('yourAppName', dependencies)

###Credits

Actually I've cut it from this project https://github.com/tomastrajan/component-pattern-for-angular-js-1-x