angular/angular.js — pull request #8303 by gabrielfgularte (2014-07-22 22:36:59+00:00)
Title: Debug level

ngLog can now log in window console based on a debug level, that can be redefined in LogProvider. Defaults to 'debug'.

I'm not able to write tests for this feature and I think that the code can be cleaner, but this helped me a lot.