diff --git a/src/ng/log.js b/src/ng/log.js index c85ee67168d1..c9a58618751b 100644 --- a/src/ng/log.js +++ b/src/ng/log.js @@ -60,7 +60,7 @@ function $LogProvider() { this.debugEnabled = function(flag) { if (isDefined(flag)) { debug = flag; - return this; + return this; } else { return debug; }