How to turn on/off $log.debug in AngularJS How to turn on/off $log.debug in AngularJS angularjs angularjs