We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Instead of using the normal console.log("foo", bar, ...) method, you should use the Angular provider equivalent like so: $log.debug("foo", bar, ...).
console.log("foo", bar, ...)
$log.debug("foo", bar, ...)
Note: make sure you add the $log provider as a dependency of your service/directive/controller.
$log
This way, these logs will be disabled when moving to production without you having to do anything about it.
production
For more info: https://docs.angularjs.org/api/ng/service/$log