Previous $logProvider.debugEnabled(false); setting has affected all agnular modules, because the whole angular application works as a singleton. This commit solves that problem and allows to turn on or off debug logging using config. Example:
var app = angular.module('app', ['door3.css']).config(['$cssProvider', function($cssProvider){
$cssProvider.debugMode(true or false);
}])
Previous $logProvider.debugEnabled(false); setting has affected all agnular modules, because the whole angular application works as a singleton. This commit solves that problem and allows to turn on or off debug logging using config. Example:
var app = angular.module('app', ['door3.css']).config(['$cssProvider', function($cssProvider){ $cssProvider.debugMode(true or false); }])